Fixing consistency of signatures.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user