mirror of
https://github.com/status-im/re-frame.git
synced 2025-02-24 07:48:14 +00:00
Add a summary to docs/Effects.md
This commit is contained in:
parent
e8d1ea57d9
commit
cab2ccdd1a
@ -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…
x
Reference in New Issue
Block a user