1. 7
    Track Async Requests with React's useState Hook
    2m 23s

Track Async Requests with React's useState Hook

InstructorMichael Chan

Share this video with your friends

Send Tweet

The useState Hook is the best way to track state in React. It's capabilities aren't limited to known values either. State can be set with asynchronously resolved values as well — like the result of a fetch request. Wrapped promises can be given to useState to communicate promise status for state transitions.