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.
- Host: GitHub
- URL: https://github.com/ctrlplusb/preact-compat-hmr
- Owner: ctrlplusb
- Created: 2016-07-19T07:32:42.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-23T14:58:42.000Z (over 9 years ago)
- Last Synced: 2025-03-31T08:38:53.472Z (10 months ago)
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 12
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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. 🔥