firejune / electron-react-devtools Goto Github PK
View Code? Open in Web Editor NEWReact DevTools Extension for Electron
React DevTools Extension for Electron
Currently the homepage is redirected to 401 error .
https://github.com/firejune/electron-react-devtools/blob/master/package.json#L28
Hello,
I've installed successfully:
Installing React DevTools from /Users/crucial/code/idmx/playsplom/node_modules/electron-react-devtools
But I still don't see any React tab. I've tried restarting the app a few times.
Electron 0.37.6 -- maybe I need to move to 1 ?
I installed from your repo:
github:firejune/electron-react-devtools
Though I see you are working on it right now (commits 5 minutes ago)
Thank you for your work !
When the npm run build
command is run to build the production React app (to later be used by ElectronJS, of course), the following error message outputs:
Creating an optimized production build...
Failed to compile.
Failed to minify the code from this file:
./node_modules/electron-react-devtools/api.js:4
Thanks for the package, I find it essential for development !
I am using electron-prebuilt 1.2.3. Maybe I can move to the upstream react-devtools now ?
The problem:
For some reason when I make a production release, electron-react-devtools is still activating and there is still a React tab.
But it fails and throws an error because the devDependencies are not included with the production build and so react-developer-tools
fails to import portfinder.
module.js:440 Uncaught Error: Cannot find module 'portfinder'
This is somehow being injected by electron-react-devtools, but to be honest I can't understand why.
I installed as per instructions with require('electron-react-devtools').install();
Where did it install to ? How do I uninstall it ? I flushed the electron-prebuilt dist cache, but it is still there.
I do NOT do this anymore:
// in development.
if (process.env.NODE_ENV !== 'production') {
require('electron-react-devtools').inject()
}
as I am on 1.2.3. So I am not even requireing it at all and definitely not injecting.
Thank you for your help !
Hi, thanks for this library!
Could you add an example to README.md that you can simply add
require('electron-react-devtools').install()
to index.jsx
, and not in google chrome
electron-react-devtools dosn't work with React 16. Following error is thrown in console -
warning.js:33 Warning: The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://fb.me/react-devtools
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.