阅读背景:

[Redux] Accessing Dispatch and State with Redux -- connect

来源:互联网 

If you have props and actions, you want one component to access those props and actions, one solution is pass those from parent to this component. But one problem for this solution is if the there are many nested component between, you need to pass the props and actions all the way down to that component. It would be quite plainful and hard to maintain.If you have props and actions, you want one com




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: