Performance first
react-state-rxjs thinks that performance is key factor in nowadays mobile-first and desktop applications. So react-state-rxjs is designed to react only when data is mutating. For this reason each component implements shouldComponentUpdate method which default return value changed to false. Component updates only when:
state is changed
changed default value of
shouldComponentUpdatetotrueby passingtrueto ComponentState decoratorcomponent has explicit
shouldComponentUpdateimplementation that causes update
Last updated
Was this helpful?