React Developer Tools give a lot of power to inspect the React component tree, and look at props, event handlers, etc. However, what I\'d really like to do is to be able to insp
Using React Developer Tools you can use $r
to get a reference to the selected React Component.
The following screenshot shows you that I use React Developer Tools
to select a component (Explorer
) which has a state-object callednodeList
. In the console I can now simply write $r.state.nodeList
to reference this object in the state. Same works with the props (eg.: $r.props.path
)