Readme: fix what h should have returned
Maybe I'm wrong. I'm just trying to understand the cycle.
This commit is contained in:
parent
fa081e8b26
commit
99b95f9225
|
@ -338,7 +338,7 @@ An `effect handler` (function) actions the `effects` returned by `h`.
|
||||||
|
|
||||||
Here's what `h` returned:
|
Here's what `h` returned:
|
||||||
```clj
|
```clj
|
||||||
{:db (dissoc-in db [:items item-id])}
|
{:db (dissoc-in db [:items 2486])}
|
||||||
```
|
```
|
||||||
Each key of the map identifies one kind
|
Each key of the map identifies one kind
|
||||||
of `effect`, and the value for that key supplies further details.
|
of `effect`, and the value for that key supplies further details.
|
||||||
|
|
Loading…
Reference in New Issue