2

I just generated a clean React Native (w/ TS) project. When I run it in the iOS simulator then try to connect to react-devtools, devtools is completely blank.

I would expect to see the default component tree here. Any idea how I should debug?

  1. Here I have just run npx react-native run-ios:

step 1

  1. Now I press cmd+D to load the debug menu. This causes react-devtools to connect, but the project component tree is blank.

enter image description here

David
  • 2,430
  • 2
  • 15
  • 13

1 Answers1

1

Fixed this by launching devtools like this: npx react-devtools

(The problem occurs when I launch devtools like this: react-devtools)

David
  • 2,430
  • 2
  • 15
  • 13