npx create-react-app app_name --template typescript
for defining props:
- use type when building applications
- use interfaces when building libraries
practicing typescript with react
npx create-react-app app_name --template typescript
for defining props:
practicing typescript with react