React って本当に使う意味あるの? 〜SPA と React の「キホン」の「キ」〜
資料の中に出てくるコードのリンクを貼っておきます。
①FWなし(Rails+Ajax)
ソースコード 1(JavaScript)https://gist.github.com/youliangdao/3ec60ef2015d86e769c1dffcc93126bd
ソースコード 2(Rails の Model)https://gist.github.com/youliangdao/4520a7947acdcaa3de807d863bbbaf05
ソースコード 3(Rails の Controller)https://gist.github.com/youliangdao/3fa64e8d357789d80db9f7f8171487be
ソースコード 4(Rails の View)https://gist.github.com/youliangdao/ac5a392a8bb1e913c78813ada57fb597
②FWあり(React)
ソースコードhttps://gist.github.com/youliangdao/128299f74c063053aba0c0a2efa4de76
Yusuke Inai
December 03, 2022
Annual Pro sale · Save $30
Have presentations of your own?
Share with private links, password protection, and more control over your work.