redux-devtools/packages/react-json-tree/examples
Nathan Bierema 727d753081
feature(devui): convert to TypeScript (#629)
* stash

* and those

* stash

* stash

* stash

* stash

* tests

* fix errors

* revert

* stash

* fix lint

* prettier
2020-09-09 10:35:22 -04:00
..
src feature(react-json-tree): convert example to TypeScript (#603) 2020-08-21 21:57:06 -04:00
.babelrc feature(react-json-tree): convert example to TypeScript (#603) 2020-08-21 21:57:06 -04:00
.eslintrc.js feature(react-json-tree): convert example to TypeScript (#603) 2020-08-21 21:57:06 -04:00
CHANGELOG.md feature(devui): convert to TypeScript (#629) 2020-09-09 10:35:22 -04:00
index.html Use prettier 2019-01-10 20:51:14 +02:00
LICENSE Merge react-json-tree package (#428) 2018-12-21 21:18:05 +02:00
package.json Publish 2020-09-07 12:44:15 -04:00
README.md Use prettier 2019-01-10 20:51:14 +02:00
tsconfig.json feat(redux-devtools): convert todomvc example to TypeScript (#618) 2020-08-27 22:01:17 -04:00
tsconfig.webpack.json feature(react-json-tree): convert example to TypeScript (#603) 2020-08-21 21:57:06 -04:00
webpack.config.ts feature(react-json-tree): convert example to TypeScript (#603) 2020-08-21 21:57:06 -04:00

react-hot-boilerplate

The minimal dev environment to enable live-editing React components.

Usage

npm install
npm start
open http://localhost:3000

Now edit src/App.js.
Your changes will appear without reloading the browser like in this video.

Linting

This boilerplate project includes React-friendly ESLint configuration.

npm run lint

Using 0.0.0.0 as Host

You may want to change the host in server.js and webpack.config.js from localhost to 0.0.0.0 to allow access from same WiFi network. This is not enabled by default because it is reported to cause problems on Windows. This may also be useful if you're using a VM.

Missing Features

This boilerplate is purposefully simple to show the minimal configuration for React Hot Loader. For a real project, you'll want to add a separate config for production with hot reloading disabled and minification enabled. You'll also want to add a router, styles and maybe combine dev server with an existing server. This is out of scope of this boilerplate, but you may want to look into other starter kits.

Dependencies

Resources