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

新規Railsアプリに小さく導入するReact

 新規Railsアプリに小さく導入するReact

dotsで開催されたReactの導入を検討されてる方向けの勉強会でお話しました
https://eventdots.jp/event/597088

Takaya Deguchi

September 05, 2016
Tweet

More Decks by Takaya Deguchi

Other Decks in Technology

Transcript

  1. כׄ׭ת׃ג ⳿〡顜⛲ UX Engineer / Product Manager 吳䒭⠓爡ؽحزآٍ٦ص٦ (@dex1t) 俱椚؝ىُصذ؍

    爡ⰻ䞔㜠Ⱏ剣خ٦ٕ,JCFMB _ _ فٗتؙزوطآًٝزװِ٦ؠ٦⡤꿀ך鏣鎘ָ⚺ז䕵ⶴկ ؎ٝؿַٓ׵ؿٗٝزؒٝسתד䗳銲ח䘔ׄג⡦ד׮װ׶תׅկ
  2. ,JCFMBך䪮遭أةحؙ ˖ 3BJMT3FBDUך䎃㢙ך㹀殢䠬֮׷圓䧭 ˖ &4 #BCFM 8FCQBDL OQN ˖ ꬊ41"

    4JOHMF1BHF"QQMJDBUJPO ךסאֲך3BJMT،فٔ ˖ K2VFSZ׮欽岀欽ꆀ׾㸚׏ג⢘欽 –
  3. ֿֿדװ׏׋ֿה ˖ SFBDUSBJMT׾㼪Ⰵׅ׷ ˖ 3BJMT،فٔד3FBDU⢪ֲ׌ֽז׵馄ֶ䩛鯪 ˖ SFBDU@VKTָ㖑㄂ח⤑ⵃ ˖ &4כת׌⢪׻זְ׃ծٓ؎ـٓٔ盖椚׮#VOEMFS ˖

    3FBDUDSFBUF$MBTTךⵃ欽 3FBDU涸חכꬊ䱿㤺ך崧׸ var CommentBox = React.createClass({ render: function() { return ( <div className="commentBox"> Hello, world! </div> ); } });
  4. ֿֿדװ׏׋ֿה ˖ IPLBDDIBSFBDUNJDSPDPOUBJOFSך㼪Ⰵ ˖ DPOUBJOFS 鋵 ח醱꧟ׁ׾㺔ׇ׷ ˖ 㶨כEJTQBUDI׾鸐׃גFWFOU⠗乄 ˖

    IUUQRJJUBDPNIPLBDDIBJUFNT FD 鋵 㶨 㷝 props props event dispatch state