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

[DevTools Error] Cannot remove node "2315" because no matching node was found in the Store. #21534

Closed
AsheshL opened this issue May 19, 2021 · 5 comments
Assignees

Comments

@AsheshL
Copy link

AsheshL commented May 19, 2021

Website or app

Website

Repro steps

Not sure

How often does this bug happen?

Often

DevTools package (automated)

react-devtools-extensions

DevTools version (automated)

4.13.2-e468072e17

Error message (automated)

Cannot remove node "2315" because no matching node was found in the Store.

Error call stack (automated)

No response

Error component stack (automated)

No response

GitHub query string (automated)

https://api.github.com/search/issues?q=Cannot remove node  because no matching node was found in the Store. in:title is:issue is:open is:public label:"Component: Developer Tools" repo:facebook/react
@bvaughn
Copy link
Contributor

bvaughn commented May 19, 2021

Hi!

I'm sorry you ran into this problem.

Unfortunately, it doesn't look like this issue has enough info for one of us to reproduce it though.

Please help us by providing a link to a CodeSandbox (https://codesandbox.io/s/new), a repository on GitHub, or a minimal code example that reproduces the problem. (Screenshots or videos can also be helpful if they help provide context on how to repro the bug.)

Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve

We may close issues that have no repro.

@devxalted
Copy link

I've had this same issue, it happens when the DOM removes previously rendered components that are conditionally rendered using ternary operators and Context API state.

It's not bothersome enough for me to include all the code etc, but it does make it a littler harder to debug since I have to use console.log instead of viewing the current state of a component.

@bvaughn
Copy link
Contributor

bvaughn commented May 20, 2021

@AsheshL Without a repro, there's nothing I can do with this issue.

Here's an updated build of DevTools though that might fix the problem you're seeing, if you'd like to test it out:
ReactDevTools.zip

You can follow these steps to install it:
https://user-images.githubusercontent.com/29597/118749019-b6cda600-b82a-11eb-9449-ef56f41eced5.mp4

@JoelBrenstrum
Copy link

JoelBrenstrum commented May 21, 2021

@bvaughn That unpacked extension worked for me! Thanks

@bvaughn
Copy link
Contributor

bvaughn commented May 21, 2021

Thanks!

I'm going to go ahead and close this since we still don't have any repro info. Hopefully the updated extension fixes the problem, but if not- we can re-open the issue later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants