javascript
ããã«ã¡ãï¼ããã³ãã¨ã³ãã¨ã³ã¸ãã¢ã®é»ç°ã§ãï¼ 2019å¹´12æ1æ¥ã«è¡ãããJSConf JP(Day2)ã®ã¬ãã¼ãè¨äºã§ãã³ããã Advent Calendar 2019 22æ¥ç®ã®è¨äºã§ãã ã¡ãªã¿ã«ãå¼ç¤¾ã³ãããæ ªå¼ä¼ç¤¾ã¯JSConf JPã«ã·ã«ãã¼ã¹ãã³ãµã¼ã¨ãã¦åè³ãã¾ããã ãâ¦
æ¬è¨äºã¯ã³ããã Advent Calendar 2019ã®9æ¥ç®ã®ã¨ã³ããªã¼ã«ãªãã¾ãã ããã«ã¡ã¯ï¼CTOã® @itosho ã§ããJãªã¼ã°ã§ã¯æ¨ªæµFã»ããªãã¹ã15å¹´ã¶ãã«åªåãã¾ãããâ½ããã§ã¨ããããã¾ãï¼åã¯é¹¿å³¶ã¢ã³ãã©ã¼ãºã®ãµãã¼ã¿ã¼ãªã®ã§ã天çæ¯ã«æ°æã¡ãåãæ¿â¦
ããã«ã¡ã¯ãã¨ã³ã¸ãã¢ã®@dachi_023ã§ããæè¿ãMacBook Proã®èª¿åãæªãã®ã§ããä¿®çã«è¡ãã®ãé¢åã§è¡ã£ã¦ãã¾ãããæ¾ç½®ãç¶ãã¦ãããç´ã£ããããªãããªã»ã»ã»ã ä»åã®è¨äºã¯Gatsbyã§100ãã¼ã¸è¶ ãã®éçãµã¤ããæ§ç¯ããã¨ãã®å¦ã³ã«ã¤ãã¦ã§ããGaâ¦
React v16.8ã§å¾ ã¡ã«å¾ ã£ãHooksã (20æ¥åã«) ãªãªã¼ã¹ããã¾ããããããªHooksã使ã£ã¦Fluxããæã£ã¦ã©ããããã ããï¼ã¨æã£ãã®ã§èª¿ã¹ã¦åçµãã¦ã¿ã¾ããã...
Dockerfileã«JS (ã¨ãCSSã¨ãHTMLã¨ã) ã®ãã«ãå¦çãæ¸ãã¦ã³ã³ããç«ã¡ä¸ãã¦ãã©ã¦ã¶ã§è¦ããã¨ããã¾ã§ã®è©±ã§ããæ¬è¨äºã§ã¯æä½éãããã§ãã¦ããã°ãããªã«é ããªããªãããã£ã¦ãã®ãããã¤ãæ¸ãã¦ãã¾ãã...
ããã«ã¡ã¯ï¼ã¡ããã©1ã¶æåã«åä¾ãçã¾ããå¿ããã楽ããæ¥ã ãéããã¦ããå®é(@ry0_adachi)ã§ã ä»åã¯ãã³ããã Advent Calendar 2017ãã®7æ¥ç®ã®è¨äºã¨ãã¦ãWebViewã§ä½¿ãããæ©è½ãReact+Fluxã®æ§æã§å®è£ ãã¦ãªãªã¼ã¹ããæã®è¾ãã£ããã¨ã¨ãâ¦
ããã«ã¡ã¯ãããã³ãã¨ã³ã¸ãã¢ã®@ry0_adachiã§ãã ããã®ã¨ãããReact + Flux Utils *1 ã®æ§æãé¸æãããã¨ãå¤ãããã以å¤ãé¸æãããã¨ãå°ãªããªã£ã¦ãã¾ãããç¹ã«å¤§ããªä¸æºã¯ãªãããæ £ãã¦ããã®ã§è¯ããããªãã¨æã£ã¦ããã®ã§ãããéçºæâ¦
ããã«ã¡ã¯ãããã³ãã¨ã³ã¸ãã¢ã®å®é (@ry0_adachi) ã§ãã æè¿ãä¸æ°ã«å·ãè¾¼ãã§ããã®ã§ãã£ããçè¾¼ãã§åºãããªãã¨çãç®ãè¦ããã§ã (1æ)ã ãã¦ãä»åã¯Yarnããã£ãã触ã£ã¦ã¿ãã®ã§ãã®æ¤è¨¼ã¨ææ³ãæ¸ããã¨æãã¾ãã Yarnã¨ã¯ github.com Jâ¦
ããã«ã¡ã¯ãããã³ãã¨ã³ã¸ãã¢ã®å®é (@ry0_adachi) ã§ãã æ°ä»ãããååã®ç§ã®è¨äºãã2ã¶æãçµã¡ã¾ãããæéã®æµãã¯æ©ãã§ãã...ã ãã¦ãä»åã¯immutableã¨ãããJSã§å®ç¾ããããã®Immutable.jsã«ã¤ãã¦ã§ãã ãã®è¨äºãéãã¦æ²¢å±±ã®æ¹ã«immutaâ¦
ããã«ã¡ã¯ãã¨ã³ã¸ãã¢ã®å®é(@ry0_adachi)ã§ãã ä»åã¯React + FluxãFlux Utilsã使ã£ã¦å°å ¥ããããã®è©±ããããã¨æãã¾ãã ãã®è¨äºãæ¸ããã¨æã£ãçç± æ®æ®µã¡ãã£ã¨ãããã¼ã«ãªãããReactã使ã£ã¦å®è£ ãããããã®ã§ããããã®æã«Reduxã¨ãã§â¦
ããã«ã¡ã¯ãè±ç²çã«æ©ã¾ããã¦ããã¨ã³ã¸ãã¢ã®å®é(@ry0_adachi)ã§ãã ååã¯éç¨ä¸ã®ãµã¼ãã¹ã¸ã®webpackã®å°å ¥ã«ã¤ãã¦ã話ãããã¦ããã ãã¾ããããä»åã¯ESLintã®å°å ¥ã¨éç¨æ¹æ³ã«ã¤ãã¦è©±ãã¦ããããã¨æãã¾ãã Linterãéä¸ããå°å ¥ããã¨ãâ¦