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
Reduce boilerplate of your Redux actions by creating [flux-standard-actions](https://github.com/acdlite/flux-standard-action) with a set of utilities this package provides.
Every helper will create action that is defined in shape by Flux standard action. We decided to go with Flux standard action because it gives you definition of minimal, common standards that are human-friendly and enable
34
49
us to create assumptions about the shape of our actions.
35
50
36
51
*NOTE*: You can't disable flux standard action structure at the moment. But there is an [open issue]() for this.
Type for your type property in [action](https://redux.js.org/basics/actions)
61
+
62
+
#### payloadCreator (optional)
63
+
Type: `function`
64
+
65
+
Custom payload creator for action payload
66
+
67
+
#### metaCreator (optional)
68
+
Type: `function`
69
+
70
+
Custom meta creator for action
71
+
72
+
73
+
# createRequestTypes(type)
39
74
40
-
### createAction
75
+
#### type
76
+
Type: `string`
41
77
78
+
Type for your request types
42
79
43
80
## Credits
44
-
Projects was inspired by headaches given from reading bunch of boilerplates` during pull request reveiws at [reactor.studio](https://github.com/reactor-studio`).
81
+
Projects was inspired by headaches given from reading bunch of boilerplates during pull request reveiws at [reactor.studio](https://github.com/reactor-studio`).
45
82
46
83
API for this package was inspired by this awesome projects:
0 commit comments