Skip to content

Update react-devtools to 8.0.0 - #289

Merged
huntie merged 1 commit into
mainfrom
bump-react-devtools-8
Nov 9, 2026
Merged

huntie merged 1 commit into
mainfrom
bump-react-devtools-8

Conversation

@huntie

@huntie huntie commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Note

Depends on react/react-native#59886: React Native's DevTools backend must move to react-devtools-core 8.0 in the same release.

Vendors react-devtools-fusebox built from React main at d71b537241, plus react/react#38167, which adds initializeSuspense and is not yet merged.

Changes

  • Read source locations as the [name, file, line, column, …] tuples React DevTools 7.0 introduced, so View source keeps working.
  • Drop importFile.worker.worker.js, which only the removed Timeline tab used.

Test Plan

Built with npm run build and served through Metro's REACT_NATIVE_DEBUGGER_FRONTEND_PATH override to RNTester on an iOS simulator, with react-devtools-core 8.0.0 as the backend.

ComponentsView source from the inspector

✅ The Components panel renders the tree against the 8.0 backend.
✅ View source reads the new location tuples and opens the file at the element's JSX, through source maps. This shot uses a backend with react/react#38168: on Hermes, the 8.0.0 backend reports an empty file name for every frame, so View source fails there with or without this change.
⚠️ Against the 6.1.5 backend, the Components panel fails with the Store error above.

Rechecked after rebasing onto #291, against React Native with react/react-native#59886 landed (stock react-devtools-core 8.0.0).

ComponentsProfilerView source from the inspector

✅ Selecting <RNTesterApp> in the Components panel shows its props, hooks and renderer.
✅ The Profiler records 3 commits while the app navigates between examples, with flamegraph timings and commit details.
✅ View source on <RNTesterApp> opens RNTesterAppShared.js at the component definition.

@huntie
huntie force-pushed the bump-react-devtools-8 branch from 57a5ba5 to 28baebc Compare November 9, 2026 19:21
@huntie huntie changed the title Bump react-devtools to 8.0.0 Upgrade react-devtools to 8.0.0 Nov 9, 2026
@huntie
huntie added this pull request to stack #292 November 9, 2026 20:40
@huntie huntie changed the title Upgrade react-devtools to 8.0.0 Update react-devtools to 8.0.0 Nov 9, 2026
@huntie
huntie merged commit e10a952 into main Nov 9, 2026
5 checks passed
@huntie
huntie deleted the bump-react-devtools-8 branch November 9, 2026 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants