React.js Conf 2015 - Static typing with Flow and TypeScript

preview_player
Показать описание
James Brantly

Learn how to take advantage of static typing in React with Flow and TypeScript. Flow is a recently released static type checker from Facebook designed to work well with React from the ground up.

TypeScript integration is more difficult and we will cover solutions to common problems such as class system integration and JSX. Both allow you to annotate your React application with types for compile-time checking of invariants and other common issues.
Рекомендации по теме
Комментарии
Автор

Flow now is in very early state.
Typescript in my experince is tight to couple with react, but much more powerful in general. Plus it has IDE support and type definitions library.

MrGarkin
Автор

Is JSX support going to be added in typescript officially?

Z-add
Автор

We need an IDE which lets you code JS based RIAs with ease as it was possible with FlexBuilder and Adobe Catalyst!

KegelLicht
Автор

So in short, avoid TypeScript in combo with React and CommonJS.

moveaxebx