In this post, I’ll show you a few tricks which can make your life using Immutable.js and Redux with TypeScript easier. All the practices are inspired by my recent work on the project Rhyme.com.
Immutable Statically Typed Records Let’s start with the definition of our store. For the purpose I prefer to use Immutable records because of two main reasons:
Immutable stores make the mutation more explicit and well organized.