How to check the DOM tree of a React Native application?

Can I visually inspect the React Native DOM tree, how can you view a regular web page in the Chrome Elements panel ? If so, how?

+7
source share
2 answers

Closest you will get an inspector from the application menu in the application (click show inspector).

enter image description here enter image description here

To access the application menu in the application:

On iOS, shake the device or press the control button + ⌘ + z in the simulator.

Android ( , , genymotion ⌘ + m, )

+10

- Chrome DevTool Element, response -native-.

: windows, osx linux. : react native redux

react-native-debugger preview

0

Source: https://habr.com/ru/post/1622243/


All Articles