diff --git a/docs/Basic-App-Structure.md b/docs/Basic-App-Structure.md index a0c1380..17f3e73 100644 --- a/docs/Basic-App-Structure.md +++ b/docs/Basic-App-Structure.md @@ -30,7 +30,7 @@ namespaces. To the Google Closure dependency mechanism it appears as if these two namespaces are not needed and it doesn't load them. And, if the code does not get loaded, the registrations in these namespaces -never happen. You'll then you'll be puzzled as to why none of your events handlers +never happen. You'll then be puzzled as to why none of your events handlers are registered. Once you twig to what's going on, the solution is easy. You must @@ -44,6 +44,7 @@ Assuming your larger apps have multiple "panels" (or "views") which are relatively independent, you might use this structure: ``` src +├── core.cljs <--- entry point, plus history, routing, etc ├── panel-1 │ ├── db.cljs <--- schema, validation, etc (data layer) │ ├── subs.cljs <--- subscription handlers (query layer) diff --git a/docs/Effects.md b/docs/Effects.md index 09173f4..1e48f10 100644 --- a/docs/Effects.md +++ b/docs/Effects.md @@ -289,7 +289,7 @@ In note form: 1. Event handlers should only return effect declaratively 2. They return a map like `{:effect1 value1 :effect2 value2}` 3. Keys of this map can refer to builtin effects handlers (see below) or custom ones -4. We use `reg-fx` to register our own effects handlers +4. We use `reg-fx` to register our own effects handlers, builtin ones are already registered ### Builtin Effect Handlers