-
## What docs page is being added or updated?
This bit: https://redux.js.org/style-guide/style-guide/#treat-reducers-as-state-machines
- **Section**: #treat-reducers-as-state-machines
- **Page**…
-
The latest version of redux marks the core redux as deprecated and suggests using reduxjs/toolkit instead. I have taken a look at the latter and it is indeed a great improvement and could allow us to …
-
### Are you using `offline()` or `createOffline()` API?
I use offline
### Store config
Please paste your config below.
```js
/* eslint-disable import/no-extraneous-dependencies */
import axios…
-
So I was using the `yo react-webpack-redux:reducer myReducer` command with no problems.
Since you suggested using react-router-redux, I implemented it into my `reducer/index.js` with a simple import o…
-
Kind of insecure to store auth state in a reducer
https://github.com/theshevon/the-treasure-platform/blob/090a62372c7ef2d9576b37ff20d351380a7f910a/client/src/redux/reducers/userReducer.js#L17-L39
-
configureStore.js
import { persistStore, persistReducer } from 'redux-persist';
import createReducer from './reducers';
const persistConfig = {
transforms: [immutableTrans…
-
Redux-persist is working great, but I get the following error when trying to follow the HMR instructions:
> does not support changing `store` on the fly. It is most likely that you see this error …
-
![redux-middleware](https://cloud.githubusercontent.com/assets/8476884/15358246/4bc9e5be-1cfb-11e6-973d-dc65eab8bb57.png)
What is **Middleware**?
- is a function that takes an action, depending on t…
-
I am trying to implement redux-localstorage in my reac-redux application and I am facing this issue where I get the error `Uncaught TypeError: Cannot read property 'length' of undefined`
here is my…
-
Curious to understand your thoughts as to when you would use pure functions with redux and why you would use them? In this case we have not used pure reducers. Let me know if I should be viewing this …