Skip to content

Conversation

@xobotyi
Copy link
Contributor

@xobotyi xobotyi commented Dec 17, 2024

No description provided.

@xobotyi xobotyi self-assigned this Dec 17, 2024
@codecov
Copy link

codecov bot commented Dec 23, 2024

Codecov Report

Attention: Patch coverage is 94.20849% with 15 lines in your changes missing coverage. Please review.

Project coverage is 97.60%. Comparing base (b837ff8) to head (b13c66d).
Report is 3 commits behind head on master.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/useCookieValue/index.ts 78.57% 3 Missing ⚠️
src/useDebouncedCallback/index.ts 77.77% 2 Missing ⚠️
src/useEventListener/index.ts 75.00% 2 Missing ⚠️
src/useIntersectionObserver/index.ts 90.00% 2 Missing ⚠️
src/useMediaQuery/index.ts 80.00% 2 Missing ⚠️
src/useResizeObserver/index.ts 90.00% 2 Missing ⚠️
src/useNetworkState/index.ts 85.71% 1 Missing ⚠️
src/useStorageValue/index.ts 97.22% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1574      +/-   ##
==========================================
- Coverage   99.83%   97.60%   -2.23%     
==========================================
  Files          62       63       +1     
  Lines        1185     1714     +529     
  Branches      206      481     +275     
==========================================
+ Hits         1183     1673     +490     
- Misses          2       39      +37     
- Partials        0        2       +2     

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

It has better typings overall and passes previous state to state updater
only in case it is being passed to `resolveHookState` function.

BREAKING CHANGE: resolve hook state does not pass `undefined` to
`nextState` function when while being called without `previousState`
Yet, while documentation site being rebuilt - all links to it removed.
@xobotyi xobotyi merged commit f5bdf3d into master Dec 23, 2024
6 of 8 checks passed
@xobotyi xobotyi deleted the update-dependencies branch December 23, 2024 23:04
@xobotyi
Copy link
Contributor Author

xobotyi commented Dec 23, 2024

🎉 This PR is included in version 25.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants