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 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: