This post is about a bad code pattern I see quite often. It’s about state management, particularly state synchronization. Often it is a source of bugs, glitches, and performance problems. Usually it is solvable by adjusting the state shape.
Full article