Merge pull request #45 from fiddlerwoaroof/docs/orchestrator-doc-pass
docs: correct two stale gotchas, and an assertion message that lied
This commit is contained in:
@@ -226,7 +226,7 @@ The pieces already exist and are worth naming as what they are:
|
||||
| action | `Command` / `ModelCommand` (`improvise-protocol`) |
|
||||
| reducer | `reduce_view`, and `WidgetCache::apply` per widget |
|
||||
| store | `ViewState` + the per-widget caches |
|
||||
| dispatch | `Sessions::apply` — the one door (gotcha 36) |
|
||||
| dispatch | `Sessions::apply_checked` — the one door (gotcha 36) |
|
||||
|
||||
So the question to ask of any code in a front end is: **would a third front end
|
||||
have to write this again?** If yes, it is behaviour and it belongs in the shared
|
||||
|
||||
Reference in New Issue
Block a user