TypeScript with React and JSX
This example repo is illustrating usage of TypeScript with React and upcoming JSX syntax support in TypeScript's compiler via
.tsx file extension.
- Have node.js installed.
- Have TypeScript Definition manager (tsd) installed globally:
npm install tsd -g
- Clone this repo.
npm installto get all dependencies and install typings.
tsd installto get all type definitions.
npm startto run Webpack dev server.
- Navigate to localhost:8080 to view the page (it's nothing impressive, really).
Problems or errors
If you notice anything wrong with this example, please report it under issues.
And if you're feeling extra helpful, pull requests are always welcome!