-
Notifications
You must be signed in to change notification settings - Fork 93
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
Add deps
argument for useConditionalUpdateEffect
and useConditionalEffect
hooks
#201
Conversation
7f75f82
to
bb69b12
Compare
Codecov Report
@@ Coverage Diff @@
## master #201 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 42 42
Lines 729 725 -4
Branches 128 125 -3
=========================================
- Hits 729 725 -4
Continue to review full report at Codecov.
|
@xobotyi It looks like Also, it looks like there are a couple linting errors. |
Add new argument for above functions. fix: 157 BREAKING CHANGE: `useConditionalUpdateEffect` and `useConditionalEffect` now has changed call signature (new argument).
@JoeDuncko just thought to poke you in discord, about this PR =) Both fixed. |
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! I'm not sure how to trigger the breaking change version bump, so I'll leave merging to you @xobotyi
@JoeDuncko it is triggered automatically if any of commits has |
# [4.0.0](v3.8.0...v4.0.0) (2021-07-16) ### Features * deps for `useConditionalUpdateEffect` and `useConditionalEffect` ([#201](#201)) ([bd56af3](bd56af3)) ### BREAKING CHANGES * `useConditionalUpdateEffect` and `useConditionalEffect` now has changed call signature (new argument).
🎉 This PR is included in version 4.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
What new hook does?
Add
deps
argument foruseConditionalUpdateEffect
anduseConditionalEffect
hooksBREAKING CHANGE:
useConditionalUpdateEffect
anduseConditionalEffect
now has changed call signature (new argument).Checklist