Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: useStyleRegister return function uses useCallback wrapping #176

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dream2023
Copy link

No description provided.

@dream2023
Copy link
Author

@zombieJ 看看,你们自己也检查一下是否还有其他返回值是没有用 useCallback 或者 useMemo 的,这会导致重复渲染

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.82%. Comparing base (907a22b) to head (37ecf90).

❗ 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              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants