⇠ chan.dev/ lessons/ reactholiday / 2019

Make useState with useReducer

React.useState is a very simplistic state management tool. React.useReducer gives us more control complex state management BUT it can be used to implement useState…

Assignment CodeSandbox: https://codesandbox.io/s/react-holiday-day-16-tktwj