Monday, April 22, 2019

React + TypeScript


Microsoft/TypeScript-React-Starter: A starter template for TypeScript and React with a detailed README describing how to use the two together. @ GitHub

 quick start guide will teach you how to wire up TypeScript with React

"The react-scripts-ts package is deprecated. TypeScript is now supported natively in Create React App. You can use the --typescript option instead when generating your app to include TypeScript support."
npm install -g create-react-app

create-react-app my-app --typescript

No comments: