ant-design / cssinjs

https://ant-design.github.io/cssinjs
MIT License
235 stars 57 forks source link

perf: use cleanup register with deps #142

Closed MadCcc closed 10 months ago

github-actions[bot] commented 10 months ago

😭 Deploy PR Preview 91fcc347c01f38494801ad754aae6dfa7a6714ec failed. Build logs

🤖 By surge-preview

codecov-commenter commented 10 months ago

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.01% :warning:

Comparison is base (4963179) 94.52% compared to head (e606b9c) 94.51%.

:exclamation: Current head e606b9c differs from pull request most recent head 91fcc34. Consider uploading reports for the commit 91fcc34 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #142 +/- ## ========================================== - Coverage 94.52% 94.51% -0.01% ========================================== Files 25 25 Lines 2172 2170 -2 Branches 342 342 ========================================== - Hits 2053 2051 -2 Misses 119 119 ``` | [Files Changed](https://app.codecov.io/gh/ant-design/cssinjs/pull/142?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design) | Coverage Δ | | |---|---|---| | [src/hooks/useCacheToken.tsx](https://app.codecov.io/gh/ant-design/cssinjs/pull/142?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL2hvb2tzL3VzZUNhY2hlVG9rZW4udHN4) | `99.44% <100.00%> (-0.02%)` | :arrow_down: | | [src/hooks/useEffectCleanupRegister.ts](https://app.codecov.io/gh/ant-design/cssinjs/pull/142?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL2hvb2tzL3VzZUVmZmVjdENsZWFudXBSZWdpc3Rlci50cw==) | `84.00% <100.00%> (ø)` | | | [src/hooks/useGlobalCache.tsx](https://app.codecov.io/gh/ant-design/cssinjs/pull/142?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL2hvb2tzL3VzZUdsb2JhbENhY2hlLnRzeA==) | `94.17% <100.00%> (+0.23%)` | :arrow_up: |

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