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
shouldComponentUpdate
totrue
by passingtrue
to ComponentState decoratorcomponent has explicit
shouldComponentUpdate
implementation that causes update
Last updated
Was this helpful?