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

当tab遇到qiankun #26

Open
yongchaozeng opened this issue Jun 21, 2022 · 2 comments
Open

当tab遇到qiankun #26

yongchaozeng opened this issue Jun 21, 2022 · 2 comments

Comments

@yongchaozeng
Copy link

请问有项目结合qiankun的demo吗,保存不同微应用的标签页状态

@X-neuron
Copy link
Owner

项目里的 example 就是样例 vue2的,这个能解决主应用状态保存的问题,但是子应用的 内部状态需要子应用保存... 主应用负责保存子应用的路由状态..

@X-neuron
Copy link
Owner

请问有项目结合qiankun的demo吗,保存不同微应用的标签页状态

我觉得 在 微端下 数据流 选择 recoil 可能是个错误。 微端多应用,应当选取 支持原生Js ,保证效率的话 ,理想的应该是 响应/监听 式的,既能在react下使用,又能在原生Js 和 vue 等框架中使用的数据流。vatio 可能是个不错的选择....

当然技术发展 比较快,微端目前我觉得 不成熟,wasm 下的数据流 目测是 未来发展的 正道...

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

2 participants