React

Introduction to React Hooks - useState()

Mute
Current Time 0:00
/
Duration Time 0:00
Loaded: 0%
Progress: 0%
Stream TypeLIVE
Remaining Time -0:00
 

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