diff --git a/README.md b/README.md index beb6ad2..362f0a3 100644 --- a/README.md +++ b/README.md @@ -63,18 +63,22 @@ document.body.appendChild(tree) `send()` when done to handle results - __subscriptions:__ streams of data that can either be written to or read from ```txt - ┌─────────────────┐ - ┌─▶│ Subscriptions │──┐ - │ └─────────────────┘ │ - │ ┌─────────────────┐ │ - ├─▶│ Effects │──┤ - │ └─────────────────┘ │ -┌──────────┐ │ ┌──────────┐ │ ┌───────┐ ┌──────┐ -│ Reducers │◀────┴──────│ Models │◀────┴─────│ DOM │◀──│ User │ -└──────────┘ Action └──────────┘ Action └───────┘ └──────┘ - │ ┌────────┐ ┌───────┐ ▲ - └───────────▶│ Router │──▶│ Views │──────────┘ - State └────────┘ └───────┘ DOM tree + ┌─────────────────────────────────┐ + │ │ + │ ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐ │ ┌────────┐ + │ ┌─────────────────┐ │ │ User │ + ├────┼─│ Subscriptions │ │ │ └────────┘ + │ └─────────────────┘ │ │ + │ │ │ │ ▼ + │ ┌─────────────────┐ │ ┌────────┐ ┌────────┐ + └────┼─│ Effects │ │◀─────┴──────│ DOM │◀───────────│ Views │ + └─────────────────┘ Action └────────┘ DOM tree └────────┘ + │ │ ▲ + ┌─────────────────┐ ┌────────┐ │ + │ │ Reducers │─┼────────────▶│ Router │─────────────────┘ + └─────────────────┘ State └────────┘ State + └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘ + Model ``` ## Side effects