ãã°ããåãReact 17 RCãçºè¡¨ããã¾ãããç¾è¡ã®React 16ã«æ¯ã¹ã¦ãããã¤ãã®ç ´å£çå¤æ´ãããä¸æ¹ãæ°æ©è½ãä½ããªãã¨ããã®ãç¹å¾´ã§ããReactãã¼ã ã¨ãã¦ã¯ãæ°æ©è½ãç¡ãã¨ã¯ãããç ´å£çå¤æ´ãå°ãªããªã£ã¦ãããªãã¹ã16ãã17ã¸ã®ã¢ãããã¼ããè¡ãªã£ã¦ã»ããã¨ããèãã®ããã§ãã ãã®è¨äºã§ã¯ãReact 17ã«ãããç ´å£çå¤æ´ã®ãã¡ãuseEffectã®ã¯ãªã¼ã³ã¢ããã®ã¿ã¤ãã³ã°ã«é¢ããå¤æ´ãåãä¸ãã¾ãï¼ä»¥ä¸ã¯å ¬å¼ãµã¤ãããå¼ç¨ï¼ã In React 17, the effect cleanup function also runs asynchronously â for example, if the component is unmounting, the cleanup will run after the screen has been updated.
{{#tags}}- {{label}}
{{/tags}}