Communication Mechanism
Page internal communication
Self-First-Broadcast。The emitted Action will be processed first by its own Effect, otherwise it will be broadcast to other components and Redux.
We completed the communication between the components (parent to child, child to parent, brother, etc.) through a simple and intuitive dispatch.
Inter-page communication
Refresh Mechanism
数据刷新
- Local data modification automatically triggers a shallow copy of the upper layer data and is transparent to the business code.
View refresh
- When the state changes, the store flatly notifies all the components and the ShouldUpdate decide whether the view should be refreshed