Skip to main content

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.

In Reactant's View Module, React components can also be injected by the original dependency module, depending on your abstract understanding of the current View Module.