Monday, May 20, 2024
101
rated 0 times [  106] [ 5]  / answers: 1 / hits: 50405  / 10 Years ago, mon, october 13, 2014, 12:00:00

I'm debugging an application which uses React.js, the Chrome Extensions list clearly shows that the React Developer Tools are installed, and when i access the React site at http://facebook.github.io/react/ i can clearly see a React tab in the developer tools window. Yet when i'm debugging my application i see this in the console:



Download the React DevTools for a better development experience: http://fb.me/react-devtools React.js:87



Can someone tell me how to get it to use the React Developer Tools?



thanks!


More From » google-chrome

 Answers
22

You no longer need to do anything.






For older react versions, the main requirement is that window.React is set. If you're using a module system:



if (typeof window !== 'undefined') {
window.React = React;
}


This should usually be done in your main source file.


[#69133] Saturday, October 11, 2014, 10 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
daren

Total Points: 577
Total Questions: 114
Total Answers: 120

Location: Malaysia
Member since Fri, Dec 3, 2021
3 Years ago
;