Skip to content

Conversation

@AlaricBaraou
Copy link
Contributor

Fix: #3593

Since react 19 and our v9, the React DevTools didn't work in the context of r3f.
We'd get things like

noProfilingRecorded

And this error
504814709-f09fc062-319a-43ef-98ec-08121c594904

After some digging, turns out 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

bundleType is handled automatically for us so we just have to move rendererPackageName and rendererVersion to the config passed to createReconciler.

I believe that DefinitelyTyped is not up to date yet so my PR won't pass ts check I guess https://github.com/search?q=repo%3ADefinitelyTyped%2FDefinitelyTyped%20rendererPackageName&type=code
I'll check how can this be updated.

After this change I can use the DevTools again
soda

@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 27, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit b59d125:

Sandbox Source
example Configuration

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

1 participant