An open API service indexing awesome lists of open source software.

https://github.com/ctrlplusb/preact-compat-hmr

Example HMR with preact, preact-compat and webpack 2.
https://github.com/ctrlplusb/preact-compat-hmr

Last synced: 6 months ago
JSON representation

Example HMR with preact, preact-compat and webpack 2.

Awesome Lists containing this project

README

          

# preact-compat-hmr

This is a very simple example demonstrating the usage of the native Hot Module Replacement (HMR) feature of `webpack` 2 with `preact` and `preact-compat`.

- `npm install`
- `npm run dev`
- Browse to localhost:8001
- Go to src/App.js and edit it. 🔥