cssinjs
cssinjs copied to clipboard
fix: `useStyleRegister` return function uses useCallback wrapping
@zombieJ 看看,你们自己也检查一下是否还有其他返回值是没有用 useCallback 或者 useMemo 的,这会导致重复渲染
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 94.82%. Comparing base (
907a22b) to head (37ecf90).
:exclamation: Current head 37ecf90 differs from pull request most recent head 4235ff4. Consider uploading reports for the commit 4235ff4 to get more accurate results
Additional details and impacted files
@@ Coverage Diff @@
## master #176 +/- ##
==========================================
+ Coverage 94.80% 94.82% +0.01%
==========================================
Files 29 29
Lines 2619 2629 +10
Branches 394 394
==========================================
+ Hits 2483 2493 +10
Misses 136 136
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.