Back to course

React JS for Beginners

Lesson 5 of 5

Now learning

Hooks: useState & useEffect

30 min

Lesson Content

useState stores local data. useEffect runs after render, which is useful for fetching data or syncing with the browser. You will load a list of lessons and show a loading message until the data arrives.