Skip to content

Add support for react-devtools version 7#877

Merged
sindresorhus merged 18 commits into
vadimdemedes:masterfrom
clicktodev:update-devtools
Feb 19, 2026
Merged

Add support for react-devtools version 7#877
sindresorhus merged 18 commits into
vadimdemedes:masterfrom
clicktodev:update-devtools

Conversation

@clicktodev

@clicktodev clicktodev commented Feb 12, 2026

Copy link
Copy Markdown
Contributor

Update the peer dependency for react-devtools-core to ensure compatibility with the latest version.

image

closes #878

@clicktodev clicktodev marked this pull request as draft February 12, 2026 08:58
@clicktodev clicktodev changed the title Update peer dependency for react-devtools-core to version 7.0.1 Update react-devtools-core to version 7 Feb 12, 2026
@clicktodev clicktodev marked this pull request as ready for review February 12, 2026 09:51
@clicktodev clicktodev changed the title Update react-devtools-core to version 7 Add support for react-devtools version 7 Feb 12, 2026
Comment thread package.json Outdated
Comment thread src/reconciler.ts Outdated
Comment thread src/ink.tsx
@clicktodev

Copy link
Copy Markdown
Contributor Author

this pr now supports both v6 and v7 however it's important that the user uses the same major for both react-devtools-core and react-devtools.

i added react-devtools to the dev dependencies and included a script that runs it to make sure the devtools version being run is the same version as the one defined in package json. this is just for maintainers, won't affect consumers.

@sindresorhus

Copy link
Copy Markdown
Collaborator

CI is failing

@clicktodev

Copy link
Copy Markdown
Contributor Author

fixed

Comment thread src/reconciler.ts Outdated
Comment thread src/reconciler.ts
@sindresorhus sindresorhus merged commit d633d7c into vadimdemedes:master Feb 19, 2026
1 check passed
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.

react devtools v7 error

2 participants