Prototype for ReactJs
Pre-requisites
- node.js + npm
Run For Production
./deploy/deploy-prod.sh
Run For Development 'using node.js server to watch for any changes and apply them to browser'
./deploy/deploy-dev.sh
- Then access project @ http://demo-react.com:3000/public
Demo expected output
- helloworld basic example
- a crud with [add more] function and [add, edit, delete, done] actions, or simpler form
- style via scss using compass compiler
- webpack compiling for [jsx, es2015]
- webpack compiling for [scss]
- webpack minify and uglify in production environment
- webpack reflect changed chunks in browser instantly without a refresh
- determine best practice [XMLHttpRequest, fetch, ...etc] for ajax requests -> used fetch polyfill
- determine right flow 'flux' and check redux
- environment built via vagrant