State management is hard get right in complex React apps for most of us. State can include UI state like routes, form states, pagination, selected tabs, etc as well as the response from http calls, loading states, cached data etc.
Even at Facebook, they had difficulty in showing the correct notification count for chat messages.
The necessity to tame this increasing complexity gave rise to some interesting libraries and paradigms.
Some of the popular state-management libraries out there:
Redux might be the single most popular library used in tandem with React. It popularized the…
Human | Minimalist | Programmer | Wannabe Pianist