Fixing consistency of signatures.

This commit is contained in:
Christian Pekeler
2016-08-27 15:24:28 -06:00
parent 1236550ba6
commit 4a973d7ac4
4 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -492,9 +492,9 @@ There are several `hooks` that are picked up by `choo`:
- __onError(err, state, createSend):__ called when an `effect` or
`subscription` emit an error. If no handler is passed, the default handler
will `throw` on each error.
- __onAction(action, state, name, caller, createSend):__ called when an
- __onAction(data, state, name, caller, createSend):__ called when an
`action` is fired.
- __onStateChange(action, state, prev, caller, createSend):__ called after a
- __onStateChange(data, state, prev, caller, createSend):__ called after a
reducer changes the `state`.
__:warning: Warning :warning:: plugins should only be used as a last resort.