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.

Resources

More in A framework: React

See it on the Frontend Developer roadmap