Configuring a React application that utilizes TypeScript can be challenging if you have never done it before. For that reason, I built out a node module that you can use that will generate a fully functional React application that already has TypeScript integrated. Some of the key features of the module are:
- Automatically configured to run TypeScript 4+ code
- Example React components that utilize hooks
- Webpack setup for development and production environments
- Loader integration for TypeScript, React, assets and Scss compilation
- Pre-configured to allow for deploying to React applications to Heroku
Here is the NPM page with the installation instructions: