A comprehensive TODO sample using Next.js + ZenStack + TanStack Query - zenstackhq/sample-todo-nextjs-tanstack
import{MutationCache}from'@tanstack/react-query';exportclassMutationCache_TEMP_FIXextendsMutationCache{constructor(){constold=Date.now;Date.now=()=>Math.round(performance.timeOrigin+performance.now());super();Date.now=old;}} Then, I applied the new implementation as follows: returnnewQueryClient(...
The magical world of Particles with React Three Fiber and Shaders: advanced article on creating particle scenes with React-Three-Fiber and Frame Buffer Objects Taxonomy - An open source application using everything new in Next.js 13 TanStack Query for Angular: React-Query is progressively ported ...
tanstack-query Tailwind CSS axios + 3 more 0 0 0 0 Updated 4 weeks ago View Taskboard project Luke West / Taskboard A Task Management Dashboard that allows users to view a list of tasks, add new tasks, update a specific tasks status and persist data locally using Next.js API rou...
// client/src/components/provoders/trpcQueryProvider.tsx 'use client'; import { PropsWithChildren, useState } from 'react'; import { isServer, QueryClient, QueryClientProvider } from '@tanstack/react-query'; import { trpc } from '@/app/_trpc/index'; import { httpBatchLink, httpLink ...
// hooks/users/use-user-create.tsimport{client}from'@/lib/api-client'import{InferRequestType,InferResponseType}from'hono/client'import{useMutation}from'@tanstack/react-query'import{toast}from'sonner'const$post=client.api.users.$post type BodyType=InferRequestType<typeof$post>['json']type Respons...
Build GeniusGPT Full-Stack App with Next.js 14+, OpenAI , Clerk Auth, Prisma, Tailwind, Shadcn-ui DaisyUI, Typescript
Setup tanstack react query 06:44 Setup API client 10:32 Axios interceptor 03:42 Disabled when call API (state) 05:17 useMutation 08:38 Axios error 04:45 Handle global error with react query 12:33 Custom hook 07:22 Storage access token ...
Tech Stack: Frontend: - TypeScript - Next.js - React - Redux - Tanstack Query aka. React query - AntDesign UI - Shadcn UI (Any kind of frontend UI library) - Tailwind CSS (v4, v3) - HTML - CSS Backend Development: - JavaScript / Typescript (Node.js) - ExpressJS - PostgreSQL ...
5.74.4•Public• Published3 days ago This package does not have a README.Add a READMEto your package so that users know how to get started. Readme Keywords none Provenance Share feedback npm i@tanstack/react-query-next-experimental ...