The State Reducer Pattern with React Hooks

By Kent C. Dodds.

View original

Excerpt: A pattern for you to use in custom hooks to enhance the power and flexibility of your hooks.