React Developer Tools - Looks Different From Article

I am working through the React Developer Tools article, but when I open React Developer Tools in http://localhost:3000/ it looks different from what the article says I should be seeing. When I click on “Components” I see the following:

Then when I click on App and switch over to elements, I see $0 rather than $r and get an error when I try to use .setState() (see below):

Anyone have any idea why this could be happening?

4 Likes

I have the same problem

I have also the same problem. Was there an update?

upping this as I’m going through the same trouble. Anyone got any hint as to how to solve this and what’s wrong?

It’s been 11 days and no solution, not even a moderator.

I am having the same problem.

Maybe due to the new version of React DevTools released in late 2019…?

I am also having this problem.

1 Like

Also having this problem. I even tried $r.setState({foo:“bar”}) and it returns the same error that OP describes.

My guess is that the new version of React DevTools has a different way of selecting and marking an element for access in the console.

Has anyone else found a way to do what the Ravenous setup instructions describe with $r ?
https://www.codecademy.com/paths/build-web-apps-with-react/tracks/bwa-intro-to-react/modules/ravenous-part-one/informationals/ready-react-developer-tools

1 Like

Same problem here too 3 months later. I wonder if we all submit bug reports they may update it. If anyone has any ideas about how this was solved, let us know!

1 Like

There’s a decent little tutorial of the updates at https://react-devtools-tutorial.now.sh/
it has a fake browser and an explanation of the difference in the react devtools. Probably worth looking at, as the Codecademy one is now out of date. Good luck

2 Likes

thank you
for posting this link