Create a new 'frameworkless' React Native app, by following these instructions. Alternatively, clone this repo, which is the result of scaffolding a new RN project.
Run npm install and cd ios; bundle exec pod install to install dependencies.
Run npm start in one terminal to start the Metro bundler, and npm run ios in another to build and run the app on a simulator.
Run npx react-devtools@6.0.0.
In the simulator, reload the app and toggle the Element Inspector.
React version: 18.3.1
React Native version: 0.75.3
Steps To Reproduce
npm install
andcd ios; bundle exec pod install
to install dependencies.npm start
in one terminal to start the Metro bundler, andnpm run ios
in another to build and run the app on a simulator.npx react-devtools@6.0.0
.Link to code example: https://github.com/tsdevshop/react-native-devtools-test
The current behavior
The expected behavior
Note that running
npx react-devtools@5.3.1
results in the correct behavior.Screencasts
https://github.com/user-attachments/assets/89cb0446-fbbe-4b74-b989-c07a86bc4262
https://github.com/user-attachments/assets/4517c28a-c9b2-4b58-80c4-e6b3ff17a181