Starter using Vite React TypeScript with opinionated ESLint and Prettier setup.
Improve building your faster prototyping by using Vite, TypeScript, React.
This starter uses following libraries:
- Vite
- React
- TypeScript
- ESLint
- Prettier
npx degit MASTERAMARJEET/react-starter-template#base
Vite is a fast frontend build tool. According to the README, it consists of two major parts:
- A dev server that serves your source files over native ES modules, with rich built-in features and astonishingly fast Hot Module Replacement (HMR).
- A build command that bundles your code with Rollup, pre-configured to output highly optimized static assets for production.
React is a JavaScript library for building user interfaces.
TypeScript is a superset of JavaScript. It is just one of NPM library, but it provides an original compiler.
When you use TypeScript with React, you can write JSX with TypeScript, called TSX. Then you can develop views written by Type-Safe template.
ESLint is use to find and fix problems in your JavaScript code. Prettier is a code formatter.
NOTICE: ESLint is setup to enforce Airbnb JavaScript Style Guide.