📄️ @state and @action
Reactant provides @state for decorating the immutable shared state of React and @action for decorating the state mutation updates, It's based on Redux and Mutative.
📄️ React Component
Reactant advocates separation of concern, so we recommend that components should have as little business logic as possible and make the React components as pure as possible; we also advocate using Function components and using a React hook whenever possible.
📄️ View Module
We can be used to implement a module with a View by inheriting the ViewModule and defining the component method (a React function component).
📄️ Basic Dependency Injection
Reactant provides dependency injection, which supports TypeScript(also supports JavaScript), and we recommend the experimentalDecorators feature based on TypeScript, as well as Reflect.metadata to record the dependency injection metadata.