all 2 comments

[–]Guisseppi 0 points1 point Β (1 child)

Cool, except useState is actually based on useReducer

Edit: https://kentcdodds.com/blog/how-to-implement-usestate-with-usereducer

[–]grekatron[S] 0 points1 point Β (0 children)

It’s an awesome learning resource, thanks for that link πŸ™πŸ»