Learned today that it’s easy to create React + TypeScript site with Parcel without using CRA (create-react-app).
Parcel Documentation has a whole (short but complete) section on how to use TypeScript file with Parcel.
Just include TypeScript file (either
.tsx for React components) in an HTML file, and Parcel will know what to do with it.
|<title>MobX React TypeScript</title>|
One caveat is that you need to set a
jsx option in
react for it to work.