react-component / util

Common Utils For React Component
util.vercel.app
MIT License
622 stars 176 forks source link

chore: add isForwardRef & isFragment #463

Closed li-jia-nan closed 3 months ago

li-jia-nan commented 10 months ago

type: replace boolean to WithRef

vercel[bot] commented 10 months ago

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

Name Status Preview Comments Updated (UTC)
util ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 28, 2024 2:42pm
codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.67%. Comparing base (d760e86) to head (8d3ea41). Report is 27 commits behind head on master.

:exclamation: Current head 8d3ea41 differs from pull request most recent head 3293f24. Consider uploading reports for the commit 3293f24 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #463 +/- ## ========================================== + Coverage 91.65% 91.67% +0.01% ========================================== Files 38 38 Lines 911 913 +2 Branches 291 283 -8 ========================================== + Hits 835 837 +2 Misses 74 74 Partials 2 2 ```

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

MadCcc commented 10 months ago

要解决什么问题?

li-jia-nan commented 10 months ago

要解决什么问题?

没发现问题,只是读这块代码的时候觉得可以优化一下,所以加了两个判断