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

Don't use string refs in tests #456

Merged
merged 1 commit into from Feb 14, 2019
Merged

Conversation

errendir
Copy link
Contributor

This PR replaces string refs with function refs. Those functions retain the instance after the unmount to allow for verification of the status.

I was asked to separate this PR from the Context upgrade PR: #427 (comment)

This is an unimportant change. I think the priority for react-transition-group should be to update to the new Context API to avoid bugs caused by the legacy API: #427

@silvenon
Copy link
Collaborator

Thanks! 👍

@silvenon silvenon merged commit ea5761b into reactjs:master Feb 14, 2019
@errendir errendir deleted the swap-refs-in-tests branch February 15, 2019 02:59
@jquense
Copy link
Collaborator

jquense commented Feb 26, 2019

🎉 This PR is included in version 2.6.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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants