titouancreach / vuejs-redux

Flexible binding between Vue and Redux
57 stars 11 forks source link

Performance #9

Closed titouancreach closed 6 years ago

titouancreach commented 6 years ago

https://github.com/titouancreach/vuejs-redux/blob/f2086589c695d8ab7adbbf29cc3c92827b357916/index.js#L33

Here we change the state of our state, that cause a rerendering of all our components that depends of at least one store of the store. As react-redux, I should perform a diff to know if I need to mutate the state or not.

titouancreach commented 6 years ago

https://redux.js.org/docs/faq/ReactRedux.html#react-rendering-too-often

titouancreach commented 6 years ago

https://github.com/vuejs/babel-plugin-transform-vue-jsx/issues/115