Just a bunch of React.js examples
JavaScript CSS HTML
Latest commit 8247973 Sep 4, 2015 @winterbe Update README.md
Permalink
Failed to load latest commit information.
src Fix css Sep 1, 2015
.gitignore Add Grid example Aug 28, 2015
LICENSE Config Aug 16, 2015
README.md Update README.md Sep 3, 2015
package.json Group by age Aug 30, 2015
webpack.config.js Add Grid example Aug 28, 2015

README.md

React.js Examples

This repo contains a bunch of React.js examples. No server side code, just client-side React components.

Live Demo

Getting started

Make sure you have NPM and Webpack installed before getting started.

  • Install: npm install
  • Build: webpack --watch
  • Start: open src/index.html

Create new samples

  • Fork this repo
  • Create a sample module, e.g. src/js/mysample/mysample-view.js. Your module must export a descriptor like that:
module.exports = {
    name: 'My Sample',
    fn: () => <MySample/>
};
  • Add your sample to src/js/app.js by adding: samples.push(require('./mysample/mysample-view'));

License

MIT