Skip to content

Example of using ReactJS + Reflux + ES6/ES7 + Jest (testing)

License

Notifications You must be signed in to change notification settings

rubyonrailspl/react-es7

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-es7

Example of AMD based project using React + Reflux + routing + ES6 with experimental ES7 syntax + Semantic-UI

If for some reasons you can't or don' want to use Node for file processing, you can use pure AMD version of that project: hipertracker/react-es7-amd. It uses only a browser.

Install

npm install -g broccoli-cli
npm install
bower install

Usage

$ broccoli serve

Open http://localhost:4200

If you like to generate mangled, compressed, production build

$ BROCCOLI_ENV=production broccoli build dist
$ http-server dist/

and open http://localhost:8080

Test:

$ npm test

Currently just a simple example of using unit tests in React for files using ES6/ES7 syntax.

Todo

  • Add more unit tests showing Jest testing ES5/ES7 code.
  • Add Yeoman project with options to choose SASS/Less/Stylus and Bootstrap/Semantic-UI.

About

Example of using ReactJS + Reflux + ES6/ES7 + Jest (testing)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.5%
  • CSS 0.5%