-
Notifications
You must be signed in to change notification settings - Fork 99
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 usePrevious #25
Conversation
e4624de
to
cf5cdbc
Compare
cf5cdbc
to
b469e9c
Compare
Codecov Report
@@ Coverage Diff @@
## master #25 +/- ##
==========================================
+ Coverage 94.00% 94.73% +0.73%
==========================================
Files 9 10 +1
Lines 50 57 +7
Branches 5 5
==========================================
+ Hits 47 54 +7
Misses 3 3
Continue to review full report at Codecov.
|
# [1.8.0](v1.7.5...v1.8.0) (2021-04-28) ### Features * new hook usePrevious ([#25](#25)) ([132032a](132032a))
🎉 This PR is included in version 1.8.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
What new hook does?
Returns the value passed to the hook on previous render.
Checklist