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

请问支持微前端 qiankun 吗 #21

Open
leehomeok opened this issue Jun 29, 2021 · 2 comments
Open

请问支持微前端 qiankun 吗 #21

leehomeok opened this issue Jun 29, 2021 · 2 comments
Labels
usage Usage of something.

Comments

@leehomeok
Copy link

在微前端多个子应用场景下 ,可以做到KeepAlive吗

@yunsii
Copy link
Owner

yunsii commented Jun 29, 2021

qiankun 没试过,既然问到了,那我周末调研一下 🧐

@yunsii yunsii changed the title 请问支持微前端 qiankun吗 请问支持微前端 qiankun 吗 Jul 12, 2021
@yunsii
Copy link
Owner

yunsii commented Jul 12, 2021

大概了解了一下,暂时还没具体实施,应该是可以的,在顶层通过路由和 location 封装好 Tabs 组件,因为封装成了 https://github.com/theprimone/use-switch-tabs 的 hook,所以作为 Layout 的顶层需要使用 React 开发。

具体实施得再等等,我会在 https://github.com/xiangqijs/xiangqi 项目中实操。

@yunsii yunsii added the usage Usage of something. label Jul 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usage Usage of something.
Projects
None yet
Development

No branches or pull requests

2 participants