Today I will share a recommended React library.
Note: The ranking is in no particular order, use it with caution according to specific business scenarios.
1. State management
(1) React Redux
Redux is a state container for JavaScript applications, providing predictable state management. React Redux is the React binding for the official implementation of Redux. Allows you to build consistent applications that run in different environments (client, server, native applications) and are easy to test.
Github: https://github.com/reduxjs/react-redux
(2) Mobx
MobX is a battle-tested library that makes state management simple and scalable by applying transparent functional reactive programming.
Github: https://github.com/mobxjs/mobx
(3) Recoil
Recoil is an experimental state management library for React applications. It provides some features that are difficult to achieve using React alone, while being compatible with the latest features of React.