React

Introduction to React Hooks - useState()

Outline

The first React Hook you'll learn about is the useState hook.

useState:

✅ Simplifies code

✅ Makes code more readable and explicit

✅ Works similarly to a getter/setter

✅ Manages state

 

I finished! On to the next chapter