ng-kyoto 主å¬ãng-kyoto Angular Meetup #3ãã§ã®çºè¡¨è³æã§ãã http://ng-kyoto.connpass.com/event/20512/
ng-kyoto 主å¬ãng-kyoto Angular Meetup #3ãã§ã®çºè¡¨è³æã§ãã http://ng-kyoto.connpass.com/event/20512/
Buffer ã®ã¡ã³ãã¼ã¯Reactã大好ãã§ãããã³ãã¨ã³ãã®å¤ãã®ã³ã¼ããã¼ã¹ãå¾ã ã«Reactã«ç§»è¡ããã¦ãã¾ããReactã«Fluxãå ããã¨ãã¢ã¸ã¥ã©ã¼å½¢å¼ã®å°ããªã¢ããªã§ã§ããè¤éãªãããã¯ããæ§ç¯ããããã®ãã¨ã¦ãå¥å ¨ãªæ¹æ³ã«ãªãã¨æãã¾ããããã§ãï¼ã¤ï¼ã¤ã®æ°ããå°ããªã¢ããªã¨æ©è½ãã大è¦æ¨¡ãªæ§é ä½ã«è¿½å ããããReactã®æ°ãããããã¯ã¨èãã¾ãã ç§ã¯æè¿ããã®ãããªæ°æ©è½ã®ï¼ã¤ã«åãçµãã§ãã¾ãããReactï¼Fluxã®ã¢ããªã±ã¼ã·ã§ã³ãä½ãã®ãããã«ç°¡åã§ãããã¨ããã®çç±ã«ã¤ãã¦ãããã«å¤¢ä¸ã«ãªã£ã¦ãã¾ãã¾ãããReactã使ãã¨ææå³ãªã³ã³ãã¼ãã³ããéãã¦UIã宣è¨çã«æ§ç¯ããã®ã楽ã«ãªããFluxã¯ãã®æ··æä½ã«å¦¥å½ãªãã¼ã¿ããã¼ãããããã¾ãã è¤éãªã¢ããªã±ã¼ã·ã§ã³ãä½ãã¨ãã«çºçãã課é¡ã«ã¤ãã¦å¤ãã®èå¯ããªããã¾ããããReactï¼Fluxã®çµã¿åãã
è¿½è¨ ææ°ã®ææ³ãåããã¦ã覧ãã ããã jinjor-labo.hatenablog.com Reactçéã§ã¯çµæ§åãããCSS in JSãã¨è¨ã£ã¦ãéã«è¨ãã¨ãCSSã¯ã¤ã±ã¦ãªãããJSã§ã¤ã³ã©ã¤ã³ã¹ã¿ã¤ã«ãæ¸ãã¦ãã¾ããã¨ãã話ããããï¼ã¡ããã¨ç¥ããã人ã¯ãã¡ãï¼ èªåãåã ããCSSã¯å¤æ°ã使ããªãã¨ãååã被ãã¨ã諸ã ã¤ã±ã¦ãªãã®ã¯åæãã¦ããã ãã©ããããJSã§æ¸ãã®ãè¯ããã¨è¨ãããããããæµç³ã«ãã¸ãã¯æ±ããããããï¼ãã¨ããCSSã®ä¾¿å©æ©è½ãæ¨ã¦ã¦å¹³æ°ãªã®ï¼ãã¨ãè²ã ã¨æççã ã£ããã ãã©ãï¼ï½ï¼ãææ¸ãã¦ã¿ããæ³å以ä¸ã«è¯ãã£ãã®ã§ææ³ãæ¸ããã¨ã«ããã ã¾ãä¸çªã«ä¸»å¼µãããé¨åãå ã«è¨ãã¨ãããã ï¼èª¤è§£ï¼JSã®ã³ã¼ããã¹ã¿ã¤ã«è¨è¿°ã§æ±ãã ï¼æ£è§£ï¼JSã®ã³ã¼ããã¹ã¿ã¤ã«è¨è¿°ãã解æ¾ããã åæ å®éã«æ¸ããã®ã¯JavaScriptã§ã¯ãªãElmãªã®ã§ä»¥ä¸ã¯å ¨ã¦
CSS in JSã®åºç¤ åç¹ã¯ãã¡ãã®ã¹ã©ã¤ããããæããããã ãããããCSSã®ããããåé¡ãJSã§è§£æ±ºãããã¨ããæãã®ãã®ã å è¡ã®è¨äºã¨ãã¦ã¯ãã®ãããªæã CSS in JS(Elm)ãããæ³å以ä¸ã«è¯ãã£ã Free-Style ã®ã¹ã¹ã¡ ~ CSS Modules ã¯è§£æ±ºçã§ã¯ãªã ã¨ããããä»åã¯Reactã¨ä¸ç·ã«ä½¿ãåæã®ãã¨ãèãã CSS in JS ã©ã¤ãã©ãªã®å®è£ 系統 CSS in JSã©ã¤ãã©ãªãããªãè²ã ããããã ãããä¸è¨ã®è¦³ç¹ã§åé¡ã§ãããã ã£ãã ã¹ã¿ã¤ã«ã®åç¾ã«é¢ããå®è£ <style>ã¿ã°ãçæãã¦ã<head>ã«insertããå®è£ ãã¿ã¼ã³ æ¨ä»ã®ã¹ã¿ã³ãã¼ããªã©ã¤ãã©ãªã®ä½¿ã£ã¦ããææ³ CSSã®çä¼¼è¦ç´ ã@media queryãã ããã使ãã Inlineã«CSSãå±éããå®è£ ãã¿ã¼ã³ ããã¨çµ¶æ» å±æ§ç¨®ã£ã½ãï¼éçºæ¢ã¾ã£ã¦ãããï¼ ãããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}