- Notifications
You must be signed in to change notification settings - Fork9
Simple React Hot Loading example with Hapi Server-side rendering
License
codeBelt/hapi-react-hot-loader-example
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
[No longer maintained] I will continue to maintain theTypeScript version.
Example universal/isomorphic application demonstrating react-hot-loader-3 with webpack-3, react and friends, async code splitting, and hapi.
Found this usefull? give it a ⭐
Windows users see the last section of this README
- $
yarn - $
yarn dev - http://localhost:3000
- $
yarn lint(eslint) - $
yarn dev(local development w/ server)
Type
rswith a carriage return to restart nodemon if you make changes to theserver.jsfile or any files within theserverfolder. It's not efficient to automatically restart nodemon on file changes.
Note: Saga's do not hot load. You will have to reload the browser.Read more about potential issues and/orimplement yourself.
- $
yarn prod(production build w/ server) - $
yarn prod:build(production build)
- $
yarn staging(staging build w/ server) - $
yarn staging:build(staging build)
- Jest / Enzyme
Use $yarn devWindows during development. Noters to restart nodemon will not work on windows.
If you wantrs to restart nodemon you will need to runyarn watchServer andyarn devServer in two separate terminals.
About
Simple React Hot Loading example with Hapi Server-side rendering
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.