Upgrade to Pro — share decks privately, control downloads, hide ads and more …

requireの循環参照

yo_waka
April 11, 2016

 requireの循環参照

フロントエンド LT & 座談会(freee x みんなのウェディング)のLTスライド

yo_waka

April 11, 2016
Tweet

More Decks by yo_waka

Other Decks in Technology

Transcript

  1. ͜Μͳίʔυ w BKT
 WBSCSFRVJSF bC` 
 NPEVMFFYQPSUT\
 GPPGVODUJPO \DPOTPMFMPH bB`

    DPOTPMFMPH C ^
 ^ w CKT
 WBSBSFRVJSF bB` 
 NPEVMFFYQPSUT\
 GPPGVODUJPO \DPOTPMFMPH bC` DPOTPMFMPH B ^
 ^
 
 NBJOKT
 WBSBSFRVJSF bB` 
 WBSCSFRVJSF bC` 
 BGPP PVUQVUbB`BOEb\GPP<'VODUJPO>^`
 CGPP PVUQVUbC`BOEb\^`GPP͕ఆٛ͞Εͯͳ͍ͧʂ
  2. #BCFM FT VUJMKT
 BSSBZGPS&BDI GVODUJPO WBM JEY \
 ?
 3BOHF&SSPS.BYJNVNDBMMTUBDLTJ[FFYDFFEFE


    BU"SSBZGPS&BDI OBUJWF 
 BUBSSBZ5P)BTI VUJMKT 
 BUGPSNBU7BMVF VUJMKT 
 BUGPSNBU1SPQFSUZ VUJMKT 
 BUVUJMKT
 BU"SSBZNBQ OBUJWF  ʁʁʁʁʁ
  3. ·ͱΊΔͱ w ͦΜͳίʔυ͸ͪΌΜͱϨϏϡʔͯ͠๷͗·͠ΐ ͏ w #BCFM &4 ͸॥؀ࢀর͢Δͱϒϥ΢β͕Ϋ ϥογϡ͢ΔͷͰΘ͔Γ΍ͯ͘͢ศར w

    ͦΕҎ֎͸ۭΦϒδΣΫτ͕ฦͬͯΤϥʔʹͳ Δ͚ͩͳͷͰΘ͔ΓͮΒͯ͘ෆศʢ͕ͬͪ͜ਖ਼ ͍͠ڍಈʣ