You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 20, 2019. It is now read-only.
The render code in ui.js uses the binding operator to pass updateUI and resetUI to the underlying component. This creates new functions at each render pass since behind the scenes it is compiled to this.updateUI.bind(this) and this.resetUI.bind(this) leading to 2 issues:
It cancels out shallowEqual/pure render mixin from any subcomponents they are passed to as props
It needlesly creates new functions at each render pass.
The text was updated successfully, but these errors were encountered:
gcazaciuc
pushed a commit
to gcazaciuc/redux-ui
that referenced
this issue
Jun 12, 2016
The render code in ui.js uses the binding operator to pass updateUI and resetUI to the underlying component. This creates new functions at each render pass since behind the scenes it is compiled to this.updateUI.bind(this) and this.resetUI.bind(this) leading to 2 issues:
The text was updated successfully, but these errors were encountered: