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

NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node. #20

Closed
dumitruPuggle opened this issue Jul 6, 2021 · 7 comments

Comments

@dumitruPuggle
Copy link

dumitruPuggle commented Jul 6, 2021

Uncaught DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.

Please fix this issue!, or help me fix it!

@tolypash
Copy link

Having the same issue

@MrSltun
Copy link
Contributor

MrSltun commented Aug 10, 2021

I created a pr to solve this issue #21 it just needs to be merged

@Nithur-M
Copy link

Nithur-M commented Sep 1, 2021

I created a pr to solve this issue #21 it just needs to be merged

Can you tell me what's causing this error? I'm still getting this error.

@Nithur-M
Copy link

Nithur-M commented Sep 1, 2021

I created a pr to solve this issue #21 it just needs to be merged

I just saw your commit. Can you please tell me how to change it on our local machine without depending on the package. I changed the code in my build file but it isn't working.

@MrSltun
Copy link
Contributor

MrSltun commented Sep 5, 2021

I created a pr to solve this issue #21 it just needs to be merged

Can you tell me what's causing this error? I'm still getting this error.

The reason that causes the error is that the UseEffect is being called in the first render of the chart, which is calling chart.current.update(props.data);
In my commit, I just added a handler to stop the UseEffect from running on the first render

@Nithur-M
Copy link

Nithur-M commented Sep 5, 2021

I created a pr to solve this issue #21 it just needs to be merged

Can you tell me what's causing this error? I'm still getting this error.

The reason that causes the error is that the UseEffect is being called in the first render of the chart, which is calling chart.current.update(props.data);
In my commit, I just added a handler to stop the UseEffect from running on the first render

Thank you for responding. How to do it in my machine locally so I can remove that error from my project?

@sheshbabu
Copy link
Owner

Thanks for the fix @MrSltun 💯

@Nithur-M @tolypash @dumitruPuggle @taitems @pmilla1606 I've published 4.1.0 with this and others fixes :)

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

No branches or pull requests

5 participants