retrixe/decaffeinater

Install React devTools if you want.

Closed this issue · 2 comments

Put a script, which when executed, installs the devTools for React. Thence forth, the computer which has ran the script will have devTools successfully installed for this app, forever. That's how it works, I just didn't know lol, this'll get by 1.3. See #9, the predecessor of the issue which removed this because it kept opening devTools while in production. This will allow you to run the script to install dev tools in development, but it won't make a difference in production since you can't open developer tools in production without code, and this script won't open the inspector, but only load the extension for when you want to load the inspector, and you won't be able to run this script in production either, similar to DevTron. Basically converting React devTools into 1 line which when pasted into the console, loads the extension in the inspector for forever.

I have created the fix, the commit when pushed, will resolve this issue.

Type this into the Console to install devTools on that system indefinitely (unless you reinstall your OS :P):
require("./devtools");