Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modelA 和 modelB 在同一个页面connect #10

Open
ccgitgit opened this issue Aug 9, 2018 · 0 comments
Open

modelA 和 modelB 在同一个页面connect #10

ccgitgit opened this issue Aug 9, 2018 · 0 comments

Comments

@ccgitgit
Copy link

ccgitgit commented Aug 9, 2018

modelA和modelB都extend BaseModel
在同一个页面中需要connnet modelA,modelB
那么他们的state名称会因此冲突吗?
页面中如何{somestate}=this.props ?

类似的应用场景比较好的实现方式是怎样?

@ccgitgit ccgitgit changed the title modelA 和 modelB 在用一个页面connect modelA 和 modelB 在同一个页面connect Aug 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant