How to Use TypeScript with React Components
Posted September 29, 2021 In this post, I'm going to discuss why and how to use TypeScript to type React components. You'll find how to annotate component props, mark a prop optional, and indicate the return type. TypeScript is useful if you're coding middle and bigger size web applications.