You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
比如全局信息,user
正常情况下是,父子应用自己加载,但会造成很多其他情况
所以如果可以实现状态共享是最好的
然后,在之前的框架,我们是用事件通知来进行同步,虽然是同步了,但是也是有其他很多问题
还有,我们尝试把store通过props传给子应用,虽然也实现同步了,但总感觉哪里怪怪的
然后我看到官网有一个https://modernjs.dev/guides/topic-detail/model/faq.html#%E5%BE%AE%E5%89%8D%E7%AB%AF%E5%AD%90%E5%BA%94%E7%94%A8-model-%E8%AE%BF%E9%97%AE%E4%B8%BB%E5%BA%94%E7%94%A8-model
但是我不知道如何操作?
Beta Was this translation helpful? Give feedback.
All reactions