Skip to content

Commit

Permalink
docs: update diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
yottahmd committed Oct 3, 2024
1 parent b640d77 commit 37debc5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ graph LR
Middleware
end
Client -->|1. Dispatch Action| Bus
Client -->|2. Execute Query| Bus
Bus -->|3. Apply| Middleware
Middleware -->|4a. Route Action| ActionHandler
Middleware -->|4b. Route Query| QueryHandler
ActionHandler -->|5a. Handle & Modify State| DB[(Database)]
QueryHandler -->|5b. Fetch Data| DB
ActionHandler & QueryHandler -->|6. Return Result| Client
Client -->|1. Dispatch Action| Bus
Client -->|2. Execute Query| Bus
Bus -->|3. Apply| Middleware
Middleware -->|4a. Route Action| ActionHandler
Middleware -->|4b. Route Query| QueryHandler
ActionHandler -->|5a. Handle & Modify State| DB[(Database)]
QueryHandler -->|5b. Fetch Data| DB
ActionHandler & QueryHandler -->|6. Return Result| Client
style Dew fill:#e6f3ff,stroke:#333,stroke-width:2px,color:#000
style Bus fill:#b3e0ff,stroke:#333,stroke-width:2px,color:#000
Expand Down

0 comments on commit 37debc5

Please sign in to comment.