-
Notifications
You must be signed in to change notification settings - Fork 50
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
Fixed error where crash will happen if fired twice in a row. #108
Conversation
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.
Thanks @robhybrid for the PR!
- Could you please be more specific about "crashing"? I guess there should be an exception(s) thrown? If so, please provide the code to reproduce the issue.
- You've added the test (which is great!) but it's passing for the current master without the
if (domElement) {
statement. So the test isn't really covering the issue you're trying to fix. Ideally, the test should fail without changes in the actual code.
I am getting the following error:
This happens with my test, and in my production application. |
The test fails on the CI when my change is removed and passes when it is added back. There may be something out of sync with your local environment. |
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.
The test fails on the CI when my change is removed and passes when it is added back. There may be something out of sync with your local environment.
It was out of sync indeed, my apologies! Thanks a lot for the well-done contribution!
## [3.0.1](v3.0.0...v3.0.1) (2020-02-20) ### Bug Fixes * unmountComponentAtNode(...): Target container is not a DOM elementd fyf ([#108](#108)) ([c592b0c](c592b0c))
🎉 This PR is included in version 3.0.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
…ntd fyf (#108) * Fixed error where crash will happen if fired twice in a row. * undid change to see if test fails in CI. * re-fixed error: unmountComponentAtNode(...): Target container is not a DOM element.
## [3.0.1](v3.0.0...v3.0.1) (2020-02-20) ### Bug Fixes * unmountComponentAtNode(...): Target container is not a DOM elementd fyf ([#108](#108)) ([2d885a6](2d885a6))
No description provided.