Overview
We're going to rewrite TanStack Query and useQuery from scratch.
The English translation was helped by AI.
- Please feel to create an issue if you find any awkward wording.
- https://github.com/mugglim/build-your-own-tanstack-query/issues
Goal
- Learn how TanStack Query works.
- Learn how to use TanStack Query in React.
Getting Started
bash
## 1. Clone the repository
git clone https://github.com/mugglim/build-your-own-tanstack-query
## 2. Install dependencies
npm install
## 3. Run the development server (It runs on https://localhost:3000 by default.)
npm run dev
Result
You can check out the completed implementation on GitHub.