React

Introduction to React Hooks - useState()

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