Skip to content

A starter template for your next React application with vite and typescript.

Notifications You must be signed in to change notification settings

MASTERAMARJEET/react-starter-template

Repository files navigation

React Starter Template

Starter using Vite React TypeScript with opinionated ESLint and Prettier setup.

Motivation

Improve building your faster prototyping by using Vite, TypeScript, React.

This starter uses following libraries:

  • Vite
  • React
  • TypeScript
  • ESLint
  • Prettier

Quick Clone

npx degit MASTERAMARJEET/react-starter-template#base

Vite

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

React is a JavaScript library for building user interfaces.

TypeScript

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 and Prettier

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.

About

A starter template for your next React application with vite and typescript.

Topics

Resources

Stars

Watchers

Forks