docs: update architecture
This commit is contained in:
@@ -63,17 +63,17 @@ document.body.appendChild(tree)
|
|||||||
`send()` when done to handle results
|
`send()` when done to handle results
|
||||||
- __subscriptions:__ streams of data that can either be written to or read from
|
- __subscriptions:__ streams of data that can either be written to or read from
|
||||||
```txt
|
```txt
|
||||||
┌────────────────┐
|
┌─────────────────┐
|
||||||
┌─▶│ Subscriptions │──┐
|
┌─▶│ Subscriptions │──┐
|
||||||
│ └────────────────┘ │
|
│ └─────────────────┘ │
|
||||||
│ ┌────────────────┐ │
|
│ ┌─────────────────┐ │
|
||||||
├─▶│ Effects │──┤
|
├─▶│ Effects │──┤
|
||||||
│ └────────────────┘ │
|
│ └─────────────────┘ │
|
||||||
┌──────────┐ │ ┌──────────┐ │ ┌───────┐ ┌──────┐
|
┌──────────┐ │ ┌──────────┐ │ ┌───────┐ ┌──────┐
|
||||||
│ Reducers │◀────┴─────│ Models │◀────┴─────│ DOM │◀──│ User │
|
│ Reducers │◀────┴──────│ Models │◀────┴─────│ DOM │◀──│ User │
|
||||||
└──────────┘ Action └──────────┘ Action └───────┘ └──────┘
|
└──────────┘ Action └──────────┘ Action └───────┘ └──────┘
|
||||||
│ ┌────────┐ ┌───────┐ ▲
|
│ ┌────────┐ ┌───────┐ ▲
|
||||||
└─────────▶│ Router │──▶│ Views │───────────┘
|
└───────────▶│ Router │──▶│ Views │──────────┘
|
||||||
State └────────┘ └───────┘ DOM tree
|
State └────────┘ └───────┘ DOM tree
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user