Skip to content

Ritik6547/TanStack-Query

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌟 TanStack Query Journey

A single React app where I document and practice all the core concepts of TanStack Query (React Query).
This app grows as I explore and implement different features step by step.


📌 What is TanStack Query?

TanStack Query is a powerful library for managing server state in React applications.
It helps with:

  • Fetching and caching data
  • Managing loading and error states
  • Keeping UI in sync with server data
  • Background refetching & stale data handling
  • Optimistic updates
  • Pagination & infinite queries

📚 Topics Covered in This Repo

  • ✅ Basic Queries (useQuery)
  • ✅ Mutations (useMutation)
  • ✅ Query Keys & Invalidation
  • ✅ Loading, Error, and Success States
  • ✅ Dependent Queries
  • ✅ Paginated & Infinite Queries
  • ✅ Optimistic Updates
  • ✅ Global Query Configuration
  • ✅ TypeScript Integration

🚀 Getting Started

  1. Clone the repo:

    git clone https://github.com/Ritik6547/TanStack-Query.git
    cd TanStack-Query
    
  2. Install dependencies:

    npm install
  3. Run the app:

    npm run dev

📖 Resources


✨ About

In this repo, I’m exploring the core concepts of TanStack Query with React.
The goal: to become confident in using TanStack Query with React + TypeScript to build scalable and performant apps.

About

A single React app documenting my journey learning TanStack Query (React Query), covering core concepts like queries, mutations, caching, pagination, optimistic updates, and TypeScript integration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors