Best method for not using NUQS here? #991
Replies: 3 comments 5 replies
-
|
Hi! I came across your post about struggling with replacing NUQS (using Zustand, tRPC, TanStack Query, etc.). I’m facing a very similar issue right now. I just wanted to ask — did you ever manage to find a good solution or workaround for this? @Anjunadata |
Beta Was this translation helpful? Give feedback.
-
|
@sadmann7 Is there any possibility you could take a look at this? |
Beta Was this translation helpful? Give feedback.
-
I think the best way is to create another copy of |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there, I absolutely love this component and I've been integrating it into my codebase but have run into the issue that these components/hooks are heavily reliant on NUQS. While I love this system it just doesn't quite work for how my app functions as we don't make use of the URL in that way. This isn't my use-base but imagine let's say you wanted multiple tables per URL route. This data table system just wouldn't work like that even though it's so good!
I've been trying to use Zustand as a way of replacement for NUQS but have really been struggling. I don't suppose anyone has made a de-NUQS-ified version of this repo? The main issue I'm really running into is the data table causing major re-renders wherever I use it whenever I interact with it (I use tRPC and Tanstack Query). I know most of the work is on my side in code that I can't really share but just wondered if anyone had come across the same scenario and found an easy solution?
Beta Was this translation helpful? Give feedback.
All reactions