Handling State Change Callbacks

In this lesson, we'll learn how to use React hooks to handle state change callbacks.

Triggering Callbacks Upon State Change

Let’s borrow a concept from your experience with React’s class components. If you remember, it’s possible to do this with class components:

Get hands-on with 1000+ tech skills courses.