/learning-react

materials about learning react

Primary LanguageHTML

learning-react

materials about learning react

Run example

npm install
npm run build
npm start

open http://localhost:8000/example/index.html

Run coverage test

*nix

npm run test-cover

git bash on window

NODE_ENV=test node --harmony server

Brief test result in browser

open http://localhost:8000/test/react-router/runner.html see console

Detail test result in browser

open http://localhost:8000/node_modules/node-jscover/lib/front-end/jscoverage.html?w=http://localhost:8000/test/react-router/runner.html to see coverage details

Brief test result in phantomjs

npm run phantomjs

Examples

https://github.com/yiminghe/learning-react/blob/master/example/index.html

online: http://yiminghe.me/learning-react/example/build.html

Tutorials

https://github.com/yiminghe/learning-react/blob/master/tutorial/en-us/index.md

online

react 入门

Reference

https://github.com/yiminghe/learning-react/blob/master/reference.md

Our components based on React

https://github.com/react-component

License

Sample codes and articles are released under the MIT license.