react-immutable-render-mixin
react-immutable-render-mixin copied to clipboard
react pure render mixin for facebook/immutable-js library
Hello, I found this open source from a link in a blog some days before. The blog said this repo is very helpful for performance. Currently, my project use Immutable...
For example if you have some code like this: ``` javascript static readyOnActions = (dispatch, params) => { return Promise.all([dispatch(landingActions.getLandingInfo())]); } ``` That is used to do the server render...
# React state has changed, but ui is not updated - platform verion windows10 - react-immutable-render-mixin version 0.9.7 - code ``` js import {shouldComponentUpdate} from 'react-immutable-render-mixin' import ReactPullToRefresh from 'react-pull-to-refresh'...
examples ``` javascript ``` this component's props.onChange isn't immutable so ``` javascript if (!bHasOwnProperty(keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) { return false; } ``` may be miss compare mutable data like `onChang`
Hey, I wanted to make sure I understood this bit correctly: ``` if (objA === objB || is(objA, objB)) { return true; } ``` I don't think you can use...