This post is based on a talk Simon gave at the React JS & React Native Bonn Meetup. It aims to answer the following questions:
- What’s TypeScript?
- How can I use it with React?
- Why should I (not) use it?
JSX code can become messy and hard to read as components grow. This article presents some approaches to extract the logic away from it and keep it simple.