Skip to content

Conversation

@AlaricBaraou
Copy link

Should fix: #631

We had the same issue in @react-three/fiber
And this PR fix it pmndrs/react-three-fiber#3594

I found out that injectIntoDevTools is not the correct way to pass the DevTools config anymore. It changed in that PR https://github.com/facebook/react/pull/30522/files

I did not test this PR as I'm not familiar with your repo but it should work for you too 👍

@thejustinwalsh
Copy link
Collaborator

Thanks @AlaricBaraou! Giving it a try now.

@thejustinwalsh
Copy link
Collaborator

I see in the r3f thread you commented abot the types not being updated yet.
I will need to add the same @ts-ignore or @ts-expect-error comments here too.

@thejustinwalsh thejustinwalsh requested a review from trezy November 29, 2025 07:01
@thejustinwalsh thejustinwalsh self-assigned this Nov 29, 2025
@thejustinwalsh thejustinwalsh changed the title Pass DevTools config through createReconciler fix: pass DevTools config through createReconciler Nov 29, 2025
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

Successfully merging this pull request may close these issues.

Broken React Dev Tools

2 participants