docs: simplify graph again
This commit is contained in:
@@ -81,21 +81,20 @@ document.body.appendChild(tree)
|
|||||||
- __views:__ take `state` and returns a new `DOM tree` that is rendered in the
|
- __views:__ take `state` and returns a new `DOM tree` that is rendered in the
|
||||||
browser
|
browser
|
||||||
```txt
|
```txt
|
||||||
┌─────────────────────────────┐ ┌────────┐
|
┌───────────────────────────┐ ┌────────┐
|
||||||
│ ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐ │ │ User │
|
│ ┌─────────────────┐ │ │ User │
|
||||||
│ ┌─────────────────┐ │ └────────┘
|
├────│ Subscriptions │ │ └────────┘
|
||||||
├──┼─│ Subscriptions │ │ │ │
|
│ ├─────────────────┤ │ │
|
||||||
│ └─────────────────┘ │ ▼
|
└────│ Effects │◀───┤ ▼
|
||||||
│ │ ┌─────────────────┐ │ │ ┌────────┐
|
├─────────────────┤ Actions ┌────────┐
|
||||||
└────│ Effects │◀─────┼─────│ DOM │◀──────────────┐
|
│ Reducers │◀───┴─────│ DOM │
|
||||||
│ └─────────────────┘ │ Actions └────────┘ DOM tree │
|
Models──────────────┘ └────────┘
|
||||||
┌─────────────────┐ │ │
|
│ ▲
|
||||||
│ │ Reducers │◀┼────┘ │
|
State DOM│tree
|
||||||
└─────────────────┘ │
|
▼ │
|
||||||
│ │ │ ┌────────┐ ┌────────┐
|
┌────────┐ ┌────────┐
|
||||||
└────────────────────▶│ Router │─────────▶│ Views │
|
│ Router │───────State ─▶│ Views │
|
||||||
└ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘ State └────────┘ State └────────┘
|
└────────┘ └────────┘
|
||||||
Model
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Effects
|
## Effects
|
||||||
|
|||||||
Reference in New Issue
Block a user