GitXplorerGitXplorer
c

jspm-react

public
104 stars
12 forks
0 issues

Commits

List of commits on branch master.
Verified
b88a83626eb9d51c28668c24ef67386558cdb51c

deprecation notice

ccapaj committed 7 years ago
Unverified
65a107b84d772f22eb6c524dbe1a7f4cd2eed95c

Update README.md

ccapaj committed 8 years ago
Unverified
7bb121e1ac3af95e7d63100147b0842fc392fb5b

Merge pull request #11 from zwhitchcox/patch-1

ccapaj committed 8 years ago
Unverified
242aa76cf155905edf3ed66a945f07a5ae7fb061

add decorator support

zzwhitchcox committed 8 years ago
Unverified
0f1ac20feeb9d2d383d8ac45ccf78c03ee5eebd8

Merge pull request #9 from nickbalestra/patch-1

ccapaj committed 8 years ago
Unverified
a7cc3fc9e89450ad19562ad12482022c090402b3

Update package.json

nnickbalestra committed 8 years ago

README

The README file for this repository.

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 git@github.com: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