GlimpseArchive / Glimpse.Client.Prototype

Glimpse v2 Client prototype
MIT License
9 stars 3 forks source link

[Refactor] Add support for TypeScript-based React components #64

Closed philliphoff closed 8 years ago

philliphoff commented 8 years ago

Adds support for writing React components in TypeScript (i.e. TSX). This allows one to fully define the types of properties passed between components and therefore get and compiler help with conforming to those types.

Also refactors the Request tab as an example of using TypeScript for React.

avanderhoorn commented 8 years ago

I've been wanting to move the client in this direction for a while now, just haven't had a chance to do it. So good work on kicking this off. Just a small comment about some of the type definitions.

philliphoff commented 8 years ago

Resolving the conflicts may have to wait a bit, as it looks like the typings definition server is down so I can't verify a clean build.

avanderhoorn commented 8 years ago

Not a problem.