All Projects → ctrlplusb → preact-compat-hmr

ctrlplusb / preact-compat-hmr

Licence: other
Example HMR with preact, preact-compat and webpack 2.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

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. 🔥
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].