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

wujie 对于 react18 + vite 支持是否友好? #888

Open
ZChMing8 opened this issue Aug 6, 2024 · 0 comments
Open

wujie 对于 react18 + vite 支持是否友好? #888

ZChMing8 opened this issue Aug 6, 2024 · 0 comments

Comments

@ZChMing8
Copy link

ZChMing8 commented Aug 6, 2024

用react18 + vite接入后,无法使用单例模式,路由切换时,没有走main.ts 文件
window.__WUJIE_UNMOUNT = () => { // 未进入 root.unmount(); }; // module脚本异步加载,应用主动调用生命周期 window.__WUJIE.mount();
使用保活模式时,用浏览器的回退,只能回退一步

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