You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,9 @@ If you don’t use [npm](https://www.npmjs.com), you may grab the latest [UMD](h
22
22
import { createAction } from'redux-actions';
23
23
```
24
24
25
-
Wraps an action creator so that its return value is the payload of a Flux Standard Action. If no payload creator is passed, or if it's not a function, the identity function is used.
25
+
Wraps an action creator so that its return value is the payload of a Flux Standard Action.
26
+
27
+
`payloadCreator` must be a function or `undefined`. If `payloadCreator` is `undefined`, the identity function is used.
0 commit comments