This is a copy of the TypeScript and React To-Do MCV app from: https://github.com/tastejs/todomvc/tree/gh-pages for the Microsoft Edge DevTools team to demo developer tooling.
TypeScript is a language for application-scale JavaScript development. TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. Any browser. Any host. Any OS. Open Source.
React is a JavaScript library for creating user interfaces. Its core principles are declarative code, efficiency, and flexibility. Simply specify what your component looks like and React will keep it up-to-date when the underlying data changes.
The TypeScript website is a great resource for getting started.
Here are some links you may find helpful:
Articles and guides from the community:
Get help from other TypeScript users:
If you have other helpful links to share, or find any of the links above no longer work, please let us know.
The React getting started documentation is a great way to get started.
Here are some links you may find helpful:
Articles and guides from the community:
Get help from other React users:
If you have other helpful links to share, or find any of the links above no longer work, please let us know.
A standalone TypeScript compiler is available on NPM.
npm install typescript
To compile the TypeScript in this project:
# from examples/typescript-react
$ tsc -p js
To be able to run the output JS files in the browser:
# from examples/typescript-react
$ npm install -g browserify
$ browserify js/app.js -o js/bundle.js
To run the app, spin up an HTTP server (e.g. python -m SimpleHTTPServer
) and visit http://localhost/.../myexample/.