Skip to content
This repository was archived by the owner on Nov 16, 2018. It is now read-only.

codeBelt/hapi-react-hot-loader-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

807b18f · Aug 29, 2017
Aug 27, 2017
Aug 27, 2017
Jul 21, 2017
Aug 20, 2017
Jul 25, 2017
Aug 7, 2017
Jul 20, 2017
Aug 28, 2017
Aug 3, 2017
Aug 28, 2017
Aug 15, 2017
Aug 29, 2017
Aug 27, 2017

Repository files navigation

hapi-react-hot-loader-example

Example universal/isomorphic application demonstrating react-hot-loader-3 with webpack-3, react and friends, and hapi.

Check out the TypeScript version here

Found it usefull? give it a ⭐

get started

  1. $ yarn
  2. $ yarn dev
  3. http://localhost:3000

dev tasks

  • $ yarn lint (eslint)
  • $ yarn dev (local development w/ server)

Type rs with a carriage return to restart nodemon if you make changes to the server.js file or any files within the server folder. 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/or implement yourself.

production tasks

  • $ yarn prod (production build w/ server)
  • $ yarn prod:build (production build)

staging tasks

  • $ yarn staging (staging build w/ server)
  • $ yarn staging:build (staging build)

Other features/examples I am working:
  • Jest / Enzyme