Lesson
Create stateless React components using 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.
- Duration
- 1 min
- Access
- Pro
- Transcript
- Available
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.