TypeScript developers love React

BASARAT
3 min readJan 6, 2017

--

Indeed many of them love AngularJS too (2) and that’s fine 🌹

And of course there are other libraries to consider too (e.g. CycleJS is also written in TypeScript). But as a TypeScript + React enthusiast and a person that interacts with lots of devs, I quite commonly get the following response to my enthusiasm “Does TypeScript work well with React?”.

The answer of course is yes. TypeScript is designed to work with your JavaScript be that any framework (the why of TypeScript). The thing I want to share here is that there are lot of TypeScript devs/teams that ❤️ React. Here’s a few famous ones of the top of my head

  • Daniel Earwicker (link): A passionate computer scientist, his clarity and experience has been helpful more than once to me personally.
  • Michel Weststrate (link): The creator of the famous (and my personal favorite) state management library for React : mobx. Its built with TypeScript. You can find him mentioning how TypeScript helps in a few of this talks.
  • Remo H. Jansen (link): Creator of InversifyJS, my personally recommended Inversion of Control framework for JavaScript devs. Of course written in TypeScript and you can find him sharing his TypeScript + ReactJS love over the internet in his talks / posts.
  • James Brantly (link): The original author of ts-loader, the defactor webpack loader for TypeScript. Of course written in TypeScript. He used TypeScript + React at AssureSign even before TSX became a thing.
  • John Reilly (link): A key member of the TypeScript open source movement. He greatly helped organise the original DefinitelyTyped repository. One of his key achievements back in the day was filling the JQuery definitions with JSDoc comments raising the bar for other definitions to follow. Currently working on TSLoader making sure that it is up to par with the next generation of TypeScript / React projects.
  • Blake Embrey (link): Critical in organising key TypeScript OSS projects under the TypeStrong organisation. Created a number of critical to the success of TypeScript projects e.g. ts-node which is downloaded 80K times per week. He also created typings which paved the way for types 2.0 (Microsoft team thanked him as well). He loves using TypeScript + React in his projects and has helped pave the way for a streamlined workflow in many ways.
  • Office Delve (link): Given that its Microsoft, their love for TypeScript is not surprising. The reason I’m sharing this because of their love for React.
  • Palantir (link): They have been big supporters of TypeScript since its inception in 2012. They wrote key packages e.g. tslint. Their most recent contribution to the TypeScript ecosystem is in fact a React + TypeScript component library called Blueprint.
  • Ant Financial / Alibaba (link) : They have ant.design which is a complete set of consistent React + TypeScript components.
  • Asana (link) : A big name in developer communities I interact with and quoted quite commonly as the first company to introduce the realtime UX concepts of meteor in their own implementation. They too have been big TypeScript users since inception and they too used React before TSX was supported e.g. TypedReact. They contribute heavily in the TypeScript definitions for react as well.
  • The GraphCool / Apollo Teams (link/link): Most things built with TypeScript. As their user, you too get an enhanced GraphQL experience with TypeScript.
  • InfernoJS (link): A famous React competitor. As a React core member said “It’s how I would’ve rewritten React.” Guess what? Its written in TypeScript.
  • Github (link): They have used the React + TypeScript combination internally for a while (1+ year). Its started to show up on their open source projects.

Of course a key reason is JSX (or really TSX), because if its awesome language integrated authoring that results in great code analysis / refactoring tools:

I’m even working on an IDE for TypeScript + ReactJS

If you liked this post don’t forget to click the heart below 💚

--

--

Responses (6)