Giter VIP home page Giter VIP logo

react-template-ts's Introduction

REACT TEMPLATE (TYPESCRIPT + TANSTACK ROUTER + TANSTACK QUERY)

Description

This is an opinionated template for a React project with TypeScript and Tanstack. It includes a basic setup for a project with pre-configured TypeScript, Tanstack Router, TailwindCss and Tanstack Query.

Why this template?

This template is a good starting point for a React project with TypeScript and Tanstack. It includes a basic setup for a project with pre-configured TypeScript, Tanstack Router, TailwindCss and React Query.

What's included?

How to use this template?

  1. clone the repository with the following command:
git clone
  1. Install the dependencies:
npm install

# or
pnpm install

# or
yarn install
  1. Start the development server:
npm run dev

# or
pnpm run dev

# or
yarn dev

Included Packages Explained

TypeScript

TypeScript is a language for application-scale JavaScript. It adds optional types, classes, and modules to JavaScript. TypeScript supports tools for large-scale JavaScript applications for any browser, for any host, on any OS. TypeScript compiles to clean, readable, standards-based JavaScript.

Tanstack Router

Tanstack Router is a routing library for React that is fully-typed and has a first-class search-param for managing state in the URL. Read more about it here.

Tanstack Query

Tanstack Query is a data-fetching and state management library for React, Vue, and Svelte. It's built on top of the Fetch API and is fully typed. Read more about it here.

TailwindCss

TailwindCss is a utility-first CSS framework for rapidly building custom designs. Read more about it here.

  • tailwind-merge : A Tailwind CSS plugin that adds a merge utility to merge classes together.

  • clsx : This enables pass objects to tw function from tailwind-merge package.

ESLint

ESLint is a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code. Read more about it here.

Husky

Husky is a tool that makes it easy to use git hooks as if they are npm scripts. Read more about it here.

react-template-ts's People

Contributors

kingmalitha avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.