mirror of
https://github.com/status-im/re-frame.git
synced 2025-02-23 07:18:22 +00:00
Merge pull request #308 from richardharrington/master
Minor verb changes in README
This commit is contained in:
commit
1591879d30
@ -126,7 +126,7 @@ a **description of `effects`**. This description is a data structure
|
||||
which says, declaratively, how the world should change (because of the event).
|
||||
|
||||
Much of the time, only the "application state" of the SPA itself need
|
||||
change, but sometimes the outside world must also be effected
|
||||
change, but sometimes the outside world must also be affected
|
||||
(localstore, cookies, databases, emails, logs, etc).
|
||||
|
||||
### 3rd Domino - Effect Handling
|
||||
@ -296,7 +296,7 @@ Which says "when you see a `:delete-item` event, use `h` to handle it".
|
||||
|
||||
### Code For Domino 3
|
||||
|
||||
An `effect handler` (function) actions the `effects` returned by `h`:
|
||||
An `effect handler` (function) puts into action the `effects` returned by `h`:
|
||||
```clj
|
||||
{:db (dissoc-in db [:items item-id])}
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user