Skip to content

This project is a simple example of the architecture in TanStack Query.

Notifications You must be signed in to change notification settings

taisei-13046/tanstack-query-architecture

Repository files navigation

TanStack Query Architecture

69271ab8-a4d0-4c1c-93d2-f1e891f419e2

This project is a simple example of the architecture in TanStack Query.

 ├ domain # Manage the data structures and types used within the application.
 ├ pages
 ├ service # Manage the logic related to API communication.
 | └ post # Divide directories for each resource.
 |   ├ function.ts # Data fetching and updating.
 |   ├ index.ts # Manage custom hooks that wrap TanStack Query's API.
 |   ├ key.ts # Manage the factory functions for queryKey.
 |   ├ selector.ts # Manage the data transformation functions used in the select option.
 |   └ type.ts # Manage the type definitions associated with API communication.

About

This project is a simple example of the architecture in TanStack Query.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published