We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Whenever parcel does a live reload, old elements that are appended to the dom are not removed.
win10, vs_code
Code: https://github.com/jnpco/d3_parcel
The text was updated successfully, but these errors were encountered:
This is a result of how Parcel's HMR works. Something like #289 would be needed in this situation. Otherwise, you could do this:
if(module.hot) module.hot.dispose(function() { // remove your old elements / clear container });
Sorry, something went wrong.
No branches or pull requests
馃悰 bug report
Whenever parcel does a live reload, old elements that are appended to the dom are not removed.
馃實 Your Environment
win10, vs_code
Code:
https://github.com/jnpco/d3_parcel
The text was updated successfully, but these errors were encountered: