François Best
François Best
TTCTheo's Typesafe Cult
Created by FleetAdmiralJakob 🗕 🗗 🗙 on 1/6/2025 in #questions
Nuqs slower than useStste
Hey y'all, if you want to give [email protected] a try, it packs a few performance improvements. Planning to release it to GA before the weekend.
13 replies
TTCTheo's Typesafe Cult
Created by FleetAdmiralJakob 🗕 🗗 🗙 on 1/6/2025 in #questions
Nuqs slower than useStste
Nuqs doesn’t update the server by default (you opt-in with the shallow: false option). I’m currently working on running some optimisations for reducing re-renders, see https://github.com/47ng/nuqs/pull/849
13 replies
TTCTheo's Typesafe Cult
Created by showduhtung on 12/27/2024 in #questions
how to pass searchParams around in next app server components?
Do you have an example where the cache didn’t update? Did you enable sending updates to the server using shallow: false ? By default, updates are client-side only, and opt-in to go through the network if the server needs the search params https://nuqs.47ng.com/docs/options#shallow
13 replies
TTCTheo's Typesafe Cult
Created by cadams on 11/3/2023 in #questions
Do you manually create Zod schemas for your Prisma models?
I've used (and contributed to) Carter's tool, it's indeed a neat way to keep the schema as a source of truth. Turning the resulting Zod schemas into JSON Schemas helped turn a Fastify server into a tRPC-like experience.
11 replies