No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE.md
README.md
index.html
index.tsx
package.json
tsconfig.json
tsd.json
webpack.config.js

README.md

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.

Running

  • Have node.js installed.
  • Have TypeScript Definition manager (tsd) installed globally: npm install tsd -g
  1. Clone this repo.
  2. Run npm install to get all dependencies and install typings.
  3. Run tsd install to get all type definitions.
  4. Run npm start to run Webpack dev server.
  5. 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!

License (MIT)