This app provides monitoring and information features for the common freifunk user and the technical stuff of a freifunk community.
Code base is taken from a TUM Practical Course project and added here to see if Freifunk Altdorf can use it.
https://www.freifunk-altdorf.de
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Bernhard Blieninger
fc05486403
|
6 years ago | |
---|---|---|
.. | ||
build | 6 years ago | |
node_modules | 6 years ago | |
README.md | 6 years ago | |
index.js | 6 years ago | |
package.json | 6 years ago | |
standalone.js | 6 years ago |
README.md
react-devtools-core
A standalone React DevTools implementation.
This is a low-level package.
If you're looking for the Electron app you can run, use react-devtools
package instead.
Exports
require('react-devtools-core').connectToDevTools(options)
This is similar to require('react-devtools')
in another package but providing more control.
Unlike require('react-devtools')
, it doesn't connect immediately, but exports a function.
Run connectToDevTools()
in the same context as React to set up a connection to DevTools.
Make sure this runs before any react
, react-dom
, or react-native
imports.
The options
object may contain:
host
(string), defaults to'localhost'
.port
(number), defaults to8097
.resolveRNStyle
(function), used by RN andnull
by default.
None of the options are required.
require('react-devtools-core/standalone')
Lets you render DevTools into a DOM node and have it listen to connections.
For example:
require('react-devtools-core/standalone')
.setContentDOMNode(document.getElementById('container'))
.startServer(port);
You can check the Electron shell in react-devtools
package for a complete integration example.