From 6718799a8bc3030cc4271f5fe1f02dee1fa272ae Mon Sep 17 00:00:00 2001 From: Yoshua Wuyts Date: Sun, 15 May 2016 18:08:07 +0700 Subject: [PATCH] docs: update architecture --- README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index fae0f3d..beb6ad2 100644 --- a/README.md +++ b/README.md @@ -63,18 +63,18 @@ 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 + ┌─────────────────┐ + ┌─▶│ Subscriptions │──┐ + │ └─────────────────┘ │ + │ ┌─────────────────┐ │ + ├─▶│ Effects │──┤ + │ └─────────────────┘ │ +┌──────────┐ │ ┌──────────┐ │ ┌───────┐ ┌──────┐ +│ Reducers │◀────┴──────│ Models │◀────┴─────│ DOM │◀──│ User │ +└──────────┘ Action └──────────┘ Action └───────┘ └──────┘ + │ ┌────────┐ ┌───────┐ ▲ + └───────────▶│ Router │──▶│ Views │──────────┘ + State └────────┘ └───────┘ DOM tree ``` ## Side effects