What is Reactant?
Reactant - A framework for building React applications, inspired by Angular.
Motivation
React is a JavaScript library for building user interfaces, but when we want to develop applications based on React, we often have to do a lot of building configuration and many other libraries choices(Picking and learning a React state library and router library, etc.). We also need to consider how our business logic should be abstracted and structured. Everyone who uses React practices their own perception of how React is built, but it doesn't allow us to quickly focus on the business logic itself. As the application business grows in size, we urgently need a framework that can be easily understood and maintained.
And for applications of business logic, separation of concern is a good idea. It requires clear boundaries of liability to avoid low maintainability when UI logic and business logic are mixed. We always want to focus on business logic when building applications. It is one of the business core values of an application. We want it to be easy to maintain, and test. Redux remains most popular state library in React. It is fully accord with immutable principles for React. Redux is just a state container, and we're often at a loss for how to really manage those states. We need a framework for scalable, loosely coupled and easily maintainable React applications.
In order to solve these problems, Reactant was created. It's a framework for React.
Reactant provides dependency injection
, modular models
, immutable state management
, dynamic module
, and more. It's pluggable
and testable
. Not only is it able to quickly build a React application (Web and Native Mobile), it also brings some new React development experiences.