-
Hello guys,
### The problem
https://codesandbox.io/s/3o4j9y375
### What I have
Ok, this one is really tricky... I have the following code :
`Form = connect((state, props) => ({`
` formValu…
-
How `Seq` should be displayed?
-
### React and Redux 性能,框架优化总结
----
#### React
1. 利用React Server Render 提高首屏的渲染速度
- 利于SEO
- 加速首屏的渲染时间
- 前后端共享数据源
使用`Reacr.renderToString`, `React.renderToStaticMarkup`。
2. 请将方法的bi…
-
Getting following error if used with Immutable.js. Any ideas how to make it work?
```
loading failed TypeError: Cannot read property 'command' of undefined
at Function.mapStateToProps [as mapTo…
-
Hi,
I'm using redux-persist ^5.10.0", but I get always this error :
```
TypeError: this.props.persistor.subscribe is not a function
PersistGate.componentDidMount
client/node_modules/redux-pers…
-
Would it be possible, similar to Immutable.JS (or Java..), have support for keys based on structural equality (ie. hashCode, equals)?
-
Will there be a branch for redux-persist v5? Could this be accomplished by simply updating the dependency?
-
In each section of the docs, make clear what the return type is
-
Hi, thanks for redux-immutable.
I am trying to mix immutable reducer and classic reducer.
I have tried to tweak the `combineReducer.js` like this :
```javascript
if (inputState.withMuta…
kopax updated
2 years ago
-
**Object.assign 是否可替代 Immutable?**
结构共享指的是,根节点的引用改变,但对没修改的节点,引用依然指向旧节点。所以Object.assign 也能实现结构共享
见如下代码:
```
const objA = { a: 1, b: 2, c: 3 }
const objB = Object.assign({}, objA, { c: 4 })
ob…