-
Notifications
You must be signed in to change notification settings - Fork 94
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
feat: new hook useCookie
#117
Conversation
Codecov Report
@@ Coverage Diff @@
## master #117 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 29 30 +1
Lines 427 470 +43
Branches 80 84 +4
=========================================
+ Hits 427 470 +43
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, and even includes options
on the remove, which was an issue with react-use, see streamich/react-use#1524 .
Thank you!
`IUseNetworkState` and `INetworkInformation` are now reexported from `useNetworkState`
# [1.27.0](v1.26.0...v1.27.0) (2021-06-11) ### Features * new hook `useCookie` ([#117](#117)) ([faae68b](faae68b))
🎉 This PR is included in version 1.27.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
What new hook does?
Manages a single cookie.
Checklist
react-use
#33