Core: learn it Step 12 of 16 on the Frontend Developer roadmap
Effects and data fetching
useEffect connects a component to things outside React, such as fetching data from an API. Also read when you do not need an effect, which prevents many bugs.Core: learn it Step 12 of 16 on the Frontend Developer roadmap
useEffect connects a component to things outside React, such as fetching data from an API. Also read when you do not need an effect, which prevents many bugs.