question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove React DevTools Download console log on install

See original GitHub issue

I have React DevTools downloaded and enabled as a Chrome extension, version 0.13.1. I am using the react npm package, version 0.12.2, in a Chrome extension that is browserified.

Every time I open my console, the console log: “Download the React DevTools for a better development experience: http://fb.me/react-devtools” is there.

What can I do to remove this?

Update from maintainers: see solution in https://github.com/facebook/react/issues/3877#issuecomment-341857218.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:10
  • Comments:55 (19 by maintainers)

github_iconTop GitHub Comments

8reactions
CacheControlcommented, Oct 23, 2015

If you set window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = {}, it will also silence the warning. This seems preferable to using NODE_ENV=production, which may have other consequences.

6reactions
mvasilkovcommented, Sep 14, 2016

Opera. It doesn’t support installing Chrome add-ons out of the box.

And yes, I know how to make it work, but that’s not the point — why in the nine hells do I even see ads in my developer console, while working on my project? Do we seriously need an AdBlock for the JS console now, to silence this type of incredibly intrusive advertising, because Facebook?

Sorry guys, I love React, but putting permanent ads in there was just not very good of an idea, was it.

(BTW tomorrow is the React Next 2016, let’s beer.)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Disable/Hide "Download the React DevTools..."
This disables all logs about React DevTools. ... Update: React 16 has a new console warning that reads Warning: The installed version of...
Read more >
react-devtools
This package can be used to debug non-browser-based React applications (e.g. React Native, mobile browser or embedded webview, Safari). React ...
Read more >
Please try remove react warnings and info logs in non ...
Hi all. I know I posted the other day asking about a warning I was getting pointing to react stuff while im in...
Read more >
A guide to features and updates in React DevTools
React DevTools helps you debug apps in environments such as mobile browsers, Safari, and iframes. Discover 5 features you didn't know ...
Read more >
How To Debug React Components Using React Developer ...
When you add the extension, you are adding additional tools to the developer console. Visit the Chrome plugin page for React Developer Tools...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found