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
* A function that creates action creators for making API requests, much like [createAction](https://redux-actions.js.org/api-reference/createaction-s) from `redux-actions`.
7
7
*
8
+
* Note: there are convenience functions for each request method: `createPostRequest()`, `createPutRequest()`, etc.
9
+
*
8
10
* @name createRequest
9
11
* @param {String} type - A unique key that will be used to identify the request internally in redux
10
12
* @param {Object|Function} definition - An object of `lp-request` config options, or a function that returns config options.
@@ -33,13 +35,14 @@ function createActionOptions (definition, args) {
0 commit comments