To create a ReactComponent:
ReactComponent React.createClass(object proto)
Basic JSX example:
var TitleComponent = React.createClass({
// REQUIRED
| webpack: (config, { stage, defaultLoaders }) => { | |
| /* | |
| * TypeScript Support | |
| * */ | |
| // Add .ts and .tsx extension to resolver | |
| config.resolve.extensions.push('.ts', '.tsx') | |
| // Add TypeScript Path Mappings (from tsconfig via webpack.config.js) | |
| // to react-statics alias resolution |
sudo eopkg it -c system.devel
sudo eopkg install libx11-devel libxtst-devel libxmu-devel