Set window.event while sandbox destroyed or inactive in account-micro!
See original GitHub issueWhat happens?
在应用间切换的时候有下面两种 warning react_devtools_backend.js:4049 [qiankun] Set window.event while sandbox destroyed or inactive in account-micro! A clear and concise description of what the bug is.
You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path “/account-micro” to begin with “/umi-app1-micro”.
Mini Showcase Repository(REQUIRED)
https://github.com/GreatAuk/micro-frontend
Provide a mini GitHub repository which can reproduce the issue.
How To Reproduce
确保本地已安装 leran (yarn global add lerna)
$ lerna bootstrap # 安装依赖
$ lerna run start #
运行 lerna run start
后访问 http://localhost:8000/dashboard
在应用之间切换
Context
- qiankun Version:
- Platform Version: mac os 10.15.7
- Browser Version: chrome 93.0.4577.82
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top Results From Across the Web
Set window.event while sandbox destroyed or inactive in ...
Set window.event while sandbox destroyed or inactive in account-micro!
Read more >qiankun 2.x 运行时沙箱源码分析- 李永宁 - 博客园
NODE_ENV === 'development') { console.warn(`[qiankun] Set window.${p.toString()} while sandbox destroyed or inactive in ${name}!`); ...
Read more >nonmarital childbearing escalated - WorldWideScience
We find little evidence that employment predicts nonmarital fertility, although it does strongly (and positively) predict marital fertility.
Read more >Photos - Manton Reece
When adding feeds, you can now set posts to import to a blog instead of just ... Makes me smile so I can't...
Read more >A C OGNITIVE MALWARE CHARACTERIZATION FRAMEWORK
Endpoint Detection and Response, Microsoft Windows, process tree, polymorphism, ... technologies such as sandboxing and therefore, can stay quiet/inactive.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@gongshun 看这个 issue https://github.com/umijs/qiankun/issues/222 是修复了的,不知道为什么现在又能复现了。这个 warning 会有实际的性能影响或产生 bug 吗
哈 ,有人知道为啥报这个警告么?目前是主应用umiqiankun,子应用是vue2.X,试过了,子应用改为hash模式就不会出现,history就会出现