Capaj Jspm React Save

lightweight React.js ES6 boilerplate with JSPM and proper hot reloading modules

Project README

jspm-react DEPRECATED

This repo is deprecated-other bundlers have won the bundler wars-namely webpack or parcel. Use them instead.

js-standard-style

lightweight React.js boilerplate with JSPM and hot reloading modules

master branch has JSPM 0.16, for 0.17 use branch jspm-0.17. JSPM 0.17 is still beta, I would advise against using JSPM 0.17 for production deployments for now.

Quickstart to development

git clone [email protected]:capaj/jspm-react.git
npm i
npm start

npm scripts available:

npm start #starts webserver and watcher, the http port is 9080
npm build #build your bundle, use purely for production
npm test #runs mocha/chai/jsdom tests in node.js

Styles

Make your own style pipeline, this boilerplate doesn't offer one. Me personally, I am fine with inline styles inside my react components most of the time, but that is just me.

Includes

  • githooks via husky for commit trigerring tests and style check
  • MobX for easy/reliable/fast state management powered by ES5 getters/setters
  • react-router
  • simple unit/midway tests with Mocha, Chai and airbnb's enzyme
Open Source Agenda is not affiliated with "Capaj Jspm React" Project. README Source: capaj/jspm-react
Stars
104
Open Issues
0
Last Commit
6 years ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating