Skip to content
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

Remove ref.current from dependency lists #655

Merged
merged 1 commit into from
Oct 12, 2019

Conversation

wardoost
Copy link
Contributor

@wardoost wardoost commented Oct 7, 2019

It doesn't make sense to add ref.current to a dependency array, see facebook/react#16121 (comment)

Related #638

@wardoost wardoost merged commit ed8e26d into master Oct 12, 2019
streamich pushed a commit that referenced this pull request Oct 12, 2019
## [12.3.2](v12.3.1...v12.3.2) (2019-10-12)

### Bug Fixes

* improve use of refs in dependency lists ([#655](#655)) ([ed8e26d](ed8e26d))
@streamich
Copy link
Owner

🎉 This PR is included in version 12.3.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@wardoost wardoost deleted the deps-lists-with-ref-current-fix branch October 15, 2019 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants