docs: update arch view
This commit is contained in:
@@ -204,20 +204,12 @@ In turn when the `views` are rendered, the `user` can interact with elements by
|
||||
clicking on them, triggering `actions` which then flow back into the
|
||||
application logic. This is the _unidirectional_ architecture of `choo`.
|
||||
```txt
|
||||
┌───────────────────────────┐ ┌────────┐
|
||||
│ ┌─────────────────┐ │ │ User │
|
||||
├────│ Subscriptions │ │ └────────┘
|
||||
│ ├─────────────────┤ │ │
|
||||
└────│ Effects │◀───┤ ▼
|
||||
├─────────────────┤ Actions ┌────────┐
|
||||
│ Reducers │◀───┴─────│ DOM │
|
||||
Models──────────────┘ └────────┘
|
||||
│ ▲
|
||||
State DOM│tree
|
||||
▼ │
|
||||
┌────────┐ ┌────────┐
|
||||
│ Router │─────State ───▶│ Views │
|
||||
└────────┘ └────────┘
|
||||
┌─────────────────┐
|
||||
│ Subscriptions ─┤ User ───┐
|
||||
└─ Effects ◀─────┤ ▼
|
||||
┌─ Reducers ◀─────┴──Actions── DOM ◀┐
|
||||
│ │
|
||||
└▶ Router ─────State ───▶ Views ────┘
|
||||
```
|
||||
- __user:__ 🙆
|
||||
- __DOM:__ the [Document Object Model][dom] is what is currently displayed in
|
||||
|
||||
Reference in New Issue
Block a user