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
|
||||
browser
|
||||
```txt
|
||||
┌─────────────────────────────┐ ┌────────┐
|
||||
│ ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐ │ │ User │
|
||||
│ ┌─────────────────┐ │ └────────┘
|
||||
├──┼─│ Subscriptions │ │ │ │
|
||||
│ └─────────────────┘ │ ▼
|
||||
│ │ ┌─────────────────┐ │ │ ┌────────┐
|
||||
└────│ Effects │◀─────┼─────│ DOM │◀──────────────┐
|
||||
│ └─────────────────┘ │ Actions └────────┘ DOM tree │
|
||||
┌─────────────────┐ │ │
|
||||
│ │ Reducers │◀┼────┘ │
|
||||
└─────────────────┘ │
|
||||
│ │ │ ┌────────┐ ┌────────┐
|
||||
└────────────────────▶│ Router │─────────▶│ Views │
|
||||
└ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘ State └────────┘ State └────────┘
|
||||
Model
|
||||
┌───────────────────────────┐ ┌────────┐
|
||||
│ ┌─────────────────┐ │ │ User │
|
||||
├────│ Subscriptions │ │ └────────┘
|
||||
│ ├─────────────────┤ │ │
|
||||
└────│ Effects │◀───┤ ▼
|
||||
├─────────────────┤ Actions ┌────────┐
|
||||
│ Reducers │◀───┴─────│ DOM │
|
||||
Models──────────────┘ └────────┘
|
||||
│ ▲
|
||||
State DOM│tree
|
||||
▼ │
|
||||
┌────────┐ ┌────────┐
|
||||
│ Router │───────State ─▶│ Views │
|
||||
└────────┘ └────────┘
|
||||
```
|
||||
|
||||
## Effects
|
||||
|
||||
Reference in New Issue
Block a user