-
Notifications
You must be signed in to change notification settings - Fork 651
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
Fix TransitionGroup error on quick toggle of components #15
Conversation
How sure are we that returning is the correct behavior? By just immediately returning, Previous attempts (#6710, #6745) only guarded execution of code that directly depends on Unless there's a good case for immediately returning, I think just guarding the |
I agree with @xStrom, we shouln't return early here, but guard the actual callback so the rest of the state can be properly cleaned up |
Fix TransitionGroup error on quick toggle of components
@xStrom I have just updated the PR |
Looks good, I think we should merge this. |
fixes reactjs#12 using reactjs#15 for v1 as well. Not all of us has been moved to v2 (especially those of us who are still using `material-ui` < v1-beta), Yet, this is critical bug fix . hopefully a version with that fix will be released soon ? :)
* Fix TransitionGroup error for v1 as well fixes #12 using #15 for v1 as well. Not all of us has been moved to v2 (especially those of us who are still using `material-ui` < v1-beta), Yet, this is critical bug fix . hopefully a version with that fix will be released soon ? :) * Update TransitionGroup.js
I had this pull request to address this issue: #12