Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Element inspector not working (React Native)

When I am clicking "Show inspector" in debug menu and then select any element, the info about it is not shown

I tried to use react-devtools, but it is not connecting for some reason

I made a reload, it started working again, and after one more reload stopped working...

like image 560
Anton Liannoi Avatar asked Apr 24 '26 06:04

Anton Liannoi


1 Answers

In my case, the inspector was in the collapsed mode because the react-dev tools were opened. When I closed the react-dev-tools the inspector on the iPhone simulator is seen as I expected.

I found the solution for my case from the React Native documentation.

However, when react-devtools is running, Inspector will enter a collapsed mode, and instead use the DevTools as primary UI.

For more information: https://reactnative.dev/docs/debugging#integration-with-react-native-inspector

enter image description here

like image 113
Abdullah Bayram Avatar answered Apr 25 '26 19:04

Abdullah Bayram



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!