I use react-redux and its normal bindings of creating a mapStateToProps, mapDispatchToProps, and using those to enhance my components by calling react-redux's connect function, which internally calls subscribe.
This library exposes a subscribeImmediate, but I'm not sure how to use it for a component since I'm using react-redux, which takes care of subscribing for me. I'm guessing there's not an easy way to do it, but opening this issue just to ask if there is one.
I use
react-redux
and its normal bindings of creating amapStateToProps
,mapDispatchToProps
, and using those to enhance my components by callingreact-redux
'sconnect
function, which internally callssubscribe
.This library exposes a
subscribeImmediate
, but I'm not sure how to use it for a component since I'm usingreact-redux
, which takes care of subscribing for me. I'm guessing there's not an easy way to do it, but opening this issue just to ask if there is one.