Spark
Explore posts from serversDTDrizzle Team
•Created by Rep. on 4/22/2024 in #help
Supabase branching w/ Drizzle?
does this work?
2 replies
DTDrizzle Team
•Created by jsingleton37 on 12/12/2024 in #help
Column of relation already exists
I don't have this problem anymore, but I don't remember if I just started a new project so that is why? Are you adding a default to the new fields?
8 replies
DTDrizzle Team
•Created by jsingleton37 on 12/12/2024 in #help
Column of relation already exists
I am running into something similar due to the
IF NOT EXISTS
being removed I think https://github.com/drizzle-team/drizzle-orm/releases/tag/drizzle-kit%400.30.08 replies
TTCTheo's Typesafe Cult
•Created by Spark on 1/7/2024 in #questions
trying to integrate solito in create-t3-turbo
it was some of the app router and "use client" stuff. awesome to hear that it is playing nicely now!
7 replies
TTCTheo's Typesafe Cult
•Created by Spark on 1/7/2024 in #questions
trying to integrate solito in create-t3-turbo
No. There were a lot of bugs when I tried. I haven't tried to work with it since.
7 replies
calling tRPC procedure from custom link
currently using a helper vanilla client approach, but if I want to pass supabase auth I may have to wrap app in a second
TRPCProvider
and try to use the utils
of the parent in the custom link of the child provider?4 replies
TRPC with Turborepo Nextjs
I have been following https://github.com/t3-oss/create-t3-turbo/tree/main where tRPC is in a separate package like you are saying, and it is hosted on Vercel with the Next.js app.
I think the main advantage for a separate package is flexibility. If you wanted to decouple the tRPC API from the Next.js app later you could use the package in a separate tRPC app like https://ion.sst.dev/docs/start/aws/trpc/. This is more complex, but better with scale.
3 replies
DTDrizzle Team
•Created by Jaxwn on 8/27/2023 in #help
Reference to auth.users?
I just manually added the foreign key from public.profile id -> auth.users id and followed this https://supabase.com/docs/guides/auth/managing-user-data#using-triggers
7 replies
Why is my tRPC + Next 14 (app router) data fetching pattern not refreshing the UI?
I would take a look at the
create-t3-turbo
repo and study the data fetching patterns. https://github.com/t3-oss/create-t3-turbo/blob/main/apps/nextjs/src/app/page.tsx
Thoughts:
1. not sure if always correct, but I like to keep my pages as server components and import client components if needed
2. to revalidate you can use this https://trpc.io/docs/client/react/useUtils#query-invalidation4 replies
TTCTheo's Typesafe Cult
•Created by robertinio on 11/7/2023 in #questions
Suspense with TRPC server query
you just have to remove the
await
. here is an example: https://github.com/t3-oss/create-t3-turbo/blob/main/apps/nextjs/src/app/page.tsx6 replies
TTCTheo's Typesafe Cult
•Created by tachito - pablokitz on 1/11/2024 in #questions
Passing config prop to zod schema for dynamic refinement
I would refer to this https://ui.shadcn.com/docs/components/form
3 replies
TTCTheo's Typesafe Cult
•Created by Spark on 1/7/2024 in #questions
trying to integrate solito in create-t3-turbo
getting close, but I am having to put "use client" in the layout.tsx file for some reason? not playing nice with app router. will come back to this later.
7 replies
TTCTheo's Typesafe Cult
•Created by _-/=elusive1sTh3Byte=-\_ on 1/3/2024 in #questions
Developing a UI without a design
I personally just use shadcn/ui and Tailwind UI in the early stages of a project. I just take 1 step at a time and pick whatever component looks the best for the thing I am trying to make. You can waste so much time over designing something you don't even need in a few days.
55 replies
TTCTheo's Typesafe Cult
•Created by Pavstermeister on 11/5/2023 in #questions
Configuring Clerk on the latest release of t3 with tRPC
123 replies