In my latest video over on @syntax.fm - I show how to refactor messy @react.dev code that uses lots of useState hooks into a single useReducer.

I talk about when / why to use a reducer and show how to set up our reducer from the ground up (with @typescriptlang.org)

https://www.youtube.com/watch?v=F_zh9xxrySo

Comments