react-component / util

Common Utils For React Component
util.vercel.app
MIT License
631 stars 179 forks source link

fix: qiankun remount app will create new container #344

Closed zombieJ closed 2 years ago

zombieJ commented 2 years ago

qiankun 卸载 & 重新装载 时会创建新的 div,导致 cache 存在的真实 container 会过期。添加一个检测更新机制。

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
util ✅ Ready (Inspect) Visit Preview Sep 15, 2022 at 7:09AM (UTC)
codecov[bot] commented 2 years ago

Codecov Report

Merging #344 (e9ef365) into master (ed12be7) will increase coverage by 0.09%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #344      +/-   ##
==========================================
+ Coverage   67.90%   67.99%   +0.09%     
==========================================
  Files          47       47              
  Lines        1050     1053       +3     
  Branches      347      346       -1     
==========================================
+ Hits          713      716       +3     
  Misses        298      298              
  Partials       39       39              
Impacted Files Coverage Δ
src/Dom/dynamicCSS.ts 97.05% <100.00%> (+0.13%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more