arvinxx / dumi-theme-antd-style

dumi-theme for antd-style site
https://dumi-theme-antd-style.arvinx.com
MIT License
75 stars 37 forks source link

fix: fix LazyLoad componentDidMount dom no use error #54

Closed chenshuai2144 closed 1 year ago

chenshuai2144 commented 1 year ago

在 componentDidMount 的时候,第一个 demo dom 还没渲染出来,出现了一点时间差,目测是 hooks 和 组件公用导致的,先加个timeout 绕开一下

编译问题目测是 LazyLoad 触发了优化,换个名字试试

close #52, close #49

vercel[bot] commented 1 year ago

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

Name Status Preview Comments Updated (UTC)
dumi-theme-antd-style ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 20, 2023 4:25am
codecov[bot] commented 1 year ago

Codecov Report

Merging #54 (c0635f5) into master (7d45403) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #54   +/-   ##
=======================================
  Coverage   48.74%   48.74%           
=======================================
  Files          49       49           
  Lines        2907     2907           
  Branches       36       36           
=======================================
  Hits         1417     1417           
  Misses       1490     1490           

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

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 0.25.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: