ant-design / ant-design-mobile

Essential UI blocks for building mobile web apps.
https://mobile.ant.design
MIT License
11.67k stars 2.41k forks source link

fix(Ellipsis): Use React life cycle hooks to avoid render not correct in Suspense #6770

Closed zombieJ closed 4 weeks ago

github-actions[bot] commented 4 weeks ago

Preview is ready

cloudflare-workers-and-pages[bot] commented 4 weeks ago

Deploying ant-design-mobile with  Cloudflare Pages  Cloudflare Pages

Latest commit: c6cfeb5
Status: ✅  Deploy successful!
Preview URL: https://25f09119.ant-design-mobile.pages.dev
Branch Preview URL: https://fix-ellipsis.ant-design-mobile.pages.dev

View logs

github-actions[bot] commented 4 weeks ago

Size Change: -414 B (-0.11%)

Total Size: 370 kB

Filename Size Change
./lib/bundle/antd-mobile.compatible.umd.js 198 kB -140 B (-0.07%)
./lib/bundle/antd-mobile.umd.js 152 kB -274 B (-0.18%)
ℹ️ View Unchanged | Filename | Size | | :--- | :---: | | `./lib/bundle/css-vars-patch.css` | 1.63 kB | | `./lib/bundle/style.css` | 18.5 kB |

compressed-size-action

github-actions[bot] commented 4 weeks ago

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
./lib/bundle/antd-mobile.es.js 107.69 KB 2.2 s (0%) 1.3 s (+8.08% 🔺) 3.4 s
codecov[bot] commented 4 weeks ago

Codecov Report

Attention: Patch coverage is 97.87234% with 2 lines in your changes missing coverage. Please review.

Project coverage is 92.70%. Comparing base (c4e181d) to head (c6cfeb5). Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
src/components/ellipsis/useMeasure.tsx 97.33% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #6770 +/- ## ========================================== - Coverage 92.74% 92.70% -0.04% ========================================== Files 334 335 +1 Lines 7204 7192 -12 Branches 1763 1801 +38 ========================================== - Hits 6681 6667 -14 - Misses 515 517 +2 Partials 8 8 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.