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

syntagme.jsの紹介

mizuki_r
June 03, 2016

 syntagme.jsの紹介

Gotanda.js #4の発表資料です

mizuki_r

June 03, 2016
Tweet

More Decks by mizuki_r

Other Decks in Technology

Transcript

  1. Lifecycle • reducer - reducerͷొ࿥ • subscribe - viewͱstoreͷ઀ଓ •

    listen - ঢ়ଶมߋͷݕ஌։࢝ • action - ACTIONͷൃߦ • disaptch - ACTIONΛStoreʹ഑෍͠ɺReducerΛ࣮ߦ
  2. JNQPSUTZOUBHNFGSPNTZOUBHNF DPOTUBQQTZOUBHNF  BQQSFEVDFS GVODUJPOVTFS3FEVDFS QBZMPBE QSFWJPVT\^ \ TXJUDI QBZMPBEBDUJPOUZQF

    \ DBTF*/*5SFUVSO0CKFDUBTTJHO \^ QSFWJPVT \VTFSOVMM^  DBTF-0(*/@3&40-7&SFUVSO0CKFDUBTTJHO \^ QSFWJPVT \VTFSBDUJPOVTFS^  DBTF-0(065@3&40-7&SFUVSO0CKFDUBTTJHO \^ QSFWJPVT \VTFSOVMM^  ^ ^  BQQSFEVDFS GVODUJPOUBTL-JTU3FEVDFS \BDUJPO^ QSFWJPVT\^ \ TXJUDI BDUJPOUZQF \ DBTF*/*5SFUVSO0CKFDUBTTJHO \^ QSFWJPVT \UBTL@MJTU<>^  DBTF'&5$)@3&40-7&SFUVSO0CKFDUBTTJHO \^ QSFWJPVT \UBTL@MJTUBDUJPOMJTU^  ^ ^  BQQSFEVDFS GVODUJPOUBTL3FEVDFS \BDUJPO^ QSFWJPVT\ \ TXJUDI BDUJPOUZQF \ DBTF*/*5SFUVSO0CKFDUBTTJHO \^ QSFWJPVT \UBTLOVMM^  DBTF4&-&$5SFUVSO0CKFDUBTTJHO \^ QSFWJPVT \ UBTL@GJOE QSFWJPVTUBTL@MJTU  UBTL \SFUVSOUBTLJEBDUJPOUBTL@JE^  ^  DBTF'&5$)@340-7&SFUVSO0CKFDUBTTJHO \^ QSFWJPVT \UBTLQSFWJ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