https://github.com/thibauts/react-starter
https://github.com/thibauts/react-starter
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thibauts/react-starter
- Owner: thibauts
- Created: 2014-09-26T15:03:36.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-09-26T16:19:58.000Z (about 11 years ago)
- Last Synced: 2025-01-31T10:41:39.069Z (9 months ago)
- Language: JavaScript
- Size: 87.9 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
react-starter
=============
Version browserify
------------------
Installation :
```bash
npm install
npm install -g watchify
```
Lancement du watch :
```bash
npm run watch
```
Lancement du serveur :
```bash
npm run server
```
Version statique
----------------
```html
React Starter
/** @jsx React.DOM */
var HelloComponent = React.createClass({
render: function() {
return (
<div>Hello, {this.props.name} !</div>
);
}
});
React.renderComponent(
<HelloComponent name="React" />,
document.getElementById('app')
);
```