For the past year I’ve been working on a project which uses React with TypeScript and Redux. In a few blog posts I’m planning to share lessons learned while combining these technologies. In this article I’ll share a few anti-patterns related to state management that I noticed in our development process. In the second article I’ll focus on testability.
All of the anti-patterns below have the following structure:
Introduction Problem definition Sample solutions with discussion of their pros and cons State Duplication Sometimes we have instances of the same business entity used in different contexts.