We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
如何跨model通信?和dva相比优势在哪?
The text was updated successfully, but these errors were encountered:
我也想问, 可以在umi中使用吗?
Sorry, something went wrong.
对于dva来说,如果有两个相似的model,这两个model是无法合并成为一个的。 但是对于hox来说,只需要定义一个hooks,通过hox的createModel生成两份实例即可。 @awmleer 请赐教。
models/A.ts & models/B.ts 下的状态要如何共享和更新(业务场景足够复杂且独立的情况不考虑放在一块儿,A的某一状态和B的某一状态互相关联影响)? --- 分割 --- 目前解决这样的场景是在具体的使用组件中做一层判断逻辑通信(体验不好),实际上和状态共享/数据流的概念已经没啥关系了。
models/A.ts
models/B.ts
状态共享
数据流
No branches or pull requests
如何跨model通信?和dva相比优势在哪?
The text was updated successfully, but these errors were encountered: