$BLOG_NAME BlogAboutContact

Posts


Saturday, December 13, 2025

A Sensible Way to Typify Your Reducer Actions

Using a reducer is a great way to centralized your update logic in a predictable manner, and avoid problematic updates around your codebase. This approach can be improved further with TypeScript to make sure not only that you have defined ways to change your state, but also so you get consistent help when applying these changes.

TypeScript React Frontend