1. 5
    Maintain State in a React Component with the useState Hook
    5m 43s

Maintain State in a React Component with the useState Hook

InstructorAndy Van Slaars

Share this video with your friends

Send Tweet

To build interactive applications, we need our components to respond to events and to "remember" things about their current "state". With component state, we give our components internal data and the ability to control the value of that data over time. In this lesson, we'll add some internal state to a component and change that state in response to user input.

~ 3 years ago

I prefer !isfront to current => !current but it was enlightening to know that current keyword can be used