-
adapted from the async example in the README:
```js
import configureStore from "redux-mock-store";
import thunk from "redux-thunk";
const middlewares = [thunk]; // add your middlewares like `r…
-
Hi
How about to mark fn functions with special marker so middleware will ignore other actions like redux-thunk actions?
I have problem with using tiles with thunk middleware. And i have no chanc…
-
Hi, I'm trying to add persistState , but it's giving me this error:
```
TypeError: next is not a function
(anonymous function)
C:/Git-Projects/reacttr/node_modules/redux-localstorage/lib/persist…
-
package.json
"@testing-library/dom": "10.1.0",
"@testing-library/jest-dom": "6.4.5",
"@testing-library/react": "15.0.7",
"@testing-library/react-hooks": "^8.0.1",
"@testing-li…
-
I'm having an issue with the thunk middleware not working when I use the mock store through enzyme
example:
```js
const mapDispatchToProps = dispatch => ({
register: data => dispatch(register(da…
-
In development environment, I noticed that with each reload that the app was slow. So I did some testing, and by removing PersistGate, the app loads easily, and without any slowness.
**cfgStore:**
…
-
Not sure if this is just a gotcha to be documented or an actual issue...
**TLDR** I needed to put `thunk` and `promise` middleware before the router and I had to put my `logger` middleware before AND…
-
I am facing an issue while trying to debug the Application with ReactDev Tools, showing errors on the console as
SocketProtocolError {name: "SocketProtocolError", message: "Client connection establ…
-
# 4. redux-thunk · GitBook
[https://react.vlpt.us/redux-middleware/04-redux-thunk.html](https://react.vlpt.us/redux-middleware/04-redux-thunk.html)
-
I brought up this issue in rackt/redux#481.
Im not sure if this can be solved from a code point of view but it might be worth documenting the issue with dispatch result being undefined in certain ca…