redux-devtools/packages/react-json-tree/examples
renovate[bot] 20024cfb5b
chore(deps): update all non-major dependencies (#1478)
* chore(deps): update all non-major dependencies

* Fix tests

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Nathan Bierema <nbierema@gmail.com>
2023-09-27 08:23:14 -04:00
..
src Remove UNSAFE methods from react-json-tree (#1288) 2023-01-04 23:17:44 -05:00
.eslintignore chore(react-json-tree): fix example build (#887) 2021-09-22 03:24:10 +00:00
.eslintrc.js chore(deps): update typescript-eslint monorepo to v6 (major) (#1436) 2023-09-03 22:56:58 -04:00
CHANGELOG.md Version Packages (#1309) 2023-01-05 14:18:48 +00:00
index.html chore(deps): update dependency prettier to v3 (#1434) 2023-07-12 18:03:20 +00:00
LICENSE Merge react-json-tree package (#428) 2018-12-21 21:18:05 +02:00
package.json chore(deps): update all non-major dependencies (#1478) 2023-09-27 08:23:14 -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 Use types in tscnofig to explicitly define global types (#1045) 2022-01-22 21:51:27 +00:00
webpack.config.ts Type-check Webpack configs (#976) 2021-12-05 03:28:45 +00: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