6

Redux: The Best State Management Solution

As the requirements of your JavaScript single-page applications become more complicated, it will become challenging to maintain the application state. This application state can be created from server or API responses, the local component state, and the UI state such as pagination controls, active routes, and selected tabs. The state can be changed with the help of direct or indirect models or UI interactions in your application. At some point, you may lose control over when, why, and how the state has been changed. This issue has been resolved by state management design patterns and libraries such as Flux, Redux, MobX, Recoil, Rematch, Vuex, and so on.

Choosing the right state management solution ...

Get React Interview Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.