Tutorial by Examples

You can use ReactJS's components easily in TypeScript. Just rename the 'jsx' file extension to 'tsx': //helloMessage.tsx: var HelloMessage = React.createClass({ render: function() { return <div>Hello {this.props.name}</div>; } }); ReactDOM.render(<HelloMessage name=&q...
Installing typescript, typings and webpack globally npm install -g typescript typings webpack Installing loaders and linking typescript npm install --save-dev ts-loader source-map-loader npm link typescript Linking TypeScript allows ts-loader to use your global installation of TypeScript inste...

Page 1 of 1