Implement useState with useReducer

Share this video with your friends

Send Tweet

A great way to learn how hooks work is to try and implement them yourself. In this video we'll learn about both of the useState and useReducer hooks by reimplementing useState with useReducer.

This is based on my blog post: "How to implement useState with useReducer"