Subscriber
subscribe to selected state
use subscriber on useSink
or sinking
can make component only subscribe changes on selected state of the sink.
The default value is true
, set the value to false
it will not auto-update on any state, or you can use the subscriber function like the example below
useSink
sinking
For some more complex scenarios, you can set subscribe value tofalse
which stops default update and use the complex selector fromreact-redux
which is based library ofredux-sink
Last updated