Tips and tricks on using React with TypeScript
You can create a stateless React component in TypeScript by just creating a function.
But if you want to create high quality idiomatic React + TypeScript components you should use the
React.StatelessComponent interface. This is demonstrated in the video.
You can create stateful React Components in TypeScript by extending from the React.Component class. This parent class takes two generic parameters, Props and State.
This lessons shows these generic parameters and React.Component in action