Redux is an application data flow framework. It is a front-end architecture mainly used for application state management. Features of redux: 1. Unified state management, there is only one warehouse in an application; 2. A state tree is managed in the warehouse.
#Redux is a technology term created by Dan Abramov in 2015. It is inspired by Facebook's Flux architecture and functional programming language Elm in 2014. Soon, Redux became the most popular front-end architecture in a short period of time because of its simplicity, ease of learning, and small size.
(Related recommendations: php training)
redux is translated into Chinese as an adjective, meaning (art work) presented in a new way. The redux we are talking about here is an application data flow framework and a front-end architecture, mainly used for application state management.
Redux is a predictable state container for JavaScript applications. In other words, it is an application data flow framework, not a traditional library or framework like underscore.js or AngularJs.
Redux is mainly used for application state management. In short, Redux uses a single constant state tree (object) to save the state of the entire application. This object cannot be changed directly. When some data changes, a new object is created (using actions and reducers).
The above is the detailed content of What does redux mean?. For more information, please follow other related articles on the PHP Chinese website!