Merge pull request #374 from Grahack/patch-7
Add a summary to docs/Effects.md
This commit is contained in:
commit
b846427ba0
|
@ -282,8 +282,14 @@ registered handlers) to which you can return.
|
||||||
|
|
||||||
### Summary
|
### Summary
|
||||||
|
|
||||||
XXX
|
The 4 Point Summary
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
### Builtin Effect Handlers
|
### Builtin Effect Handlers
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue