Reactã®hooksããããã§ããããé¢æ°ã³ã³ãã¼ãã³ãã®èªç±åº¦ãããã£ã¦è²ã å®ç¾ã§ãããã§ãã ç§ã¯Reactã«ã¤ãã¦ã¯2å¹´ãããç¥èæ¢ã¾ã£ã¦ãã®ã§ãããªãè¡æçã§ãããContextã¨ãSuspenseã¨ãããããå¢ãã¦ã¦ä»æ´è¿½ãã¤ãã®ã¯é£ãããã©ãhooksã¯ã¡ãã£ã¨ä½¿ã£ã¦ã¿ãããªã¼ã¨æãã¾ããã ãããªhooksã§ããã使ãæ¹ã¯ããããããããã©åä½åçããã£ã±ãããããªãã£ãã®ã§ãã¡ãã£ã¨èª¿ã¹ã¦ã¿ã¾ããã ããããHooksã£ã¦ãªã« hooksã¯é¢æ°ã³ã³ãã¼ãã³ãããReactã®ãããããªæ©è½ãããã¯ã§ããèªåã§æ±ãå®è£ ããããããªãã¦Reactãé¢åè¦ã¦ããããã¼ã£ã¦ãã¤ã§ããuseStateã§ç¶æ ãæããããã¨ãã§ããuseEffectã§componentDidMountã¿ãããªãã¨ãå®ç¾ããã¨ã»ãã«ãuseXXXç³»ããããããã¨ããæãã§ãã useStateãä¾ã«è¦ã¦ã¿
{{#tags}}- {{label}}
{{/tags}}