Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
0 answers
34 views

The Tanstack ExpandedRowModel allows the creation of SubRows, these can be retrieved using the subrows property. How would one aggregate specific data in those subrows, especially if the subrows ...
Intheory44's user avatar
0 votes
0 answers
91 views

I want to create new project using npx create-tsrouter-app@latest I keep getting this issue. The error always error code ECOMPROMISED and error Lock compromised. I even tried using npm create, but ...
flyingduck92's user avatar
  • 1,692
2 votes
1 answer
82 views

I’m building a chat UI in Next.js (App Router) and struggling with maintaining the scroll position when fetching older messages at the top. I’m using: @tanstack/react-virtual for virtualization ...
Pierre Bressand's user avatar
0 votes
1 answer
352 views

I am following hosting docs for TanStack Start with Nitro hosting in order to dockerize the app. So, in the docs there is instrution to get nitro-nightly package npm i nitro-nightly After that, code ...
Michał Turczyn's user avatar
-1 votes
1 answer
418 views

I am currently exploring TanStack Start (with React). At What are Server Functions? page we have example of server function that can be used with useQuery (from TanStack Query, to fetch data from ...
Michał Turczyn's user avatar
0 votes
1 answer
88 views

I am developping an iOs/Android App with React Narive. I am using useQuery (TanStack Query v5) to send the username and an hashed password to my database and it return the user ID if the email/...
popof's user avatar
  • 11
0 votes
0 answers
70 views

I have been trying to create a dynamic grid using tanstack virtualized rows (the number of columns being tied to window width) The issue is that my rows expand in height due to window resize, but my ...
Andrew's user avatar
  • 1,119
0 votes
1 answer
148 views

I have an authentication system. calling Api's using tanstack query. When logging in, signing up, and verifying email using the link, everything works fine. However, when I check the mutation's ...
Huzaifa Ahmed's user avatar
0 votes
2 answers
439 views

I have a setup using the queryClient's defaultOptions. The queries are set to always retry up to three times, and the mutations are set to retry on a specific error. This works in most cases as ...
GoldCasket's user avatar
0 votes
1 answer
1k views

So I have a simple register form with 5 fields Email, Username, Password, Confirm Password and Accept T&C. I am doing validation at form level for the following if (!value.username) return "...
Karan Hathwar's user avatar
-1 votes
1 answer
129 views

I'm using tRPC with React Query and trying to invalidate a specific query using the full query key generated by trpc. Here's what I'm doing: const likeFullKey = trpc.like.getLikesByUser.queryKey(); ...
TadeoGavensky's user avatar
2 votes
2 answers
597 views

I would like to update the port that my app is running on but the TanStack Start [defineConfig][1] method doesn't seem to expose that like a normal Vite config does. Here is my app.config.ts: import { ...
Code on the Rocks's user avatar
1 vote
0 answers
262 views

I am using @tanstack/react-virtual (useVirtualizer) to optimize rendering for a large dataset. My data consists of reports for 200 employees over 365 days, displayed in a CSS Grid. Requirements: ...
Muaz Kassm's user avatar
0 votes
0 answers
88 views

I'm having a hard time on how can I create an advance filter function using Tanstack Query, Next JS and Prisma. The main problem I'm encountering right now is how can I pass the query properly to my ...
Stykgwar's user avatar
  • 795
0 votes
0 answers
45 views

I have a Next.js application (main-app) that imports and uses UI components (widgets) and API hooks from a separate repository (abc-widgets). These widgets internally use API hooks that rely on ...
Deepak Nohawar's user avatar
0 votes
1 answer
137 views

I am trying to call hooks I created with zustand to one of the cells of tanstack table, during building, eslint throws an error Error: React Hook "useCartStore" is called in function "...
Eilron Escalante's user avatar
0 votes
1 answer
1k views

Question I'm using Tanstack Router and Tanstack Start and I'm wondering if there's a way to do something like: const path = buildPath({ to: "/$lang/posts/$id", params: { lang, id }}); so ...
sh03's user avatar
  • 76.5k
0 votes
0 answers
36 views

I'm working with a large dataset (5000+ rows) in a React application and want to use react-virtual to optimize performance. However, the table also needs to be editable without causing lag while ...
Harries Rill Macalatan's user avatar
2 votes
1 answer
291 views

I need to implement a dropdown with react-aria-components but one of the use cases has a large amount of instances, provoking a very slow experience. For that reason, I want to use a row ...
dgnin's user avatar
  • 1,647
1 vote
1 answer
2k views

How would I set up file-based routing with tanstack router so that I could have these three different routes: /{year} routes to YearViewComponent /{year}/{month} routes to MonthViewComponent /{year}/{...
Craig Smitham's user avatar
0 votes
1 answer
2k views

I'd like to provide a search property to my Link component where they query string key can have multiple values (an array) <Link to="/foo/bar" search={{group_by: ['foo', 'bar']}} ...> ...
Janne's user avatar
  • 1,030
0 votes
0 answers
78 views

I'll keep it short as possible >< -I have a left hand menu with items that can be expanded/collapsed. This is dependent on "getAll()" and works as expected. -When I incorporated "...
NeuralCode's user avatar
1 vote
0 answers
465 views

I’m having issues getting the first column of my table to be sticky. I think I’m missing some CSS that sets the container of the scroll area to 100vw, but even after setting it, I still don't get my ...
CleverlyDone's user avatar
0 votes
1 answer
203 views

This doesn't work: onClick={() => { header.column.getToggleSortingHandler(); }} However if I invoke it like this then it works - why? onClick={ header.column.getToggleSortingHandler() } I was ...
bingBong's user avatar
1 vote
1 answer
274 views

I have enabled row click functionality in a Material React Table to redirect users to a details page. I also want to implement a switch component to enable or disable the user. However, when I click ...
Karthikeyan Thangavel's user avatar