Add a summary to docs/Effects.md

This commit is contained in:
Prof Gra 2017-07-16 10:52:18 +02:00 committed by GitHub
parent e8d1ea57d9
commit cab2ccdd1a

View File

@ -282,8 +282,14 @@ registered handlers) to which you can return.
### 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