Clerk not saving username
I am stuck with Theo course as I am noticing he is requesting username from the user being logged in but my username for some reason is null. Any idea why that might be the case? I used both my email and github to login to the application but it never gets updated for some reason.
Thanks for the clarity 😄...
Server Actions and tRPC
Is server actions a replacement for tRPC? Or am I just fundamentally wrong about server actions and they have nothing to do with each other?
Supabase broken DNS
Hi!
I just restored an inactive project on Supabase and now I can't connect to the DB anymore. I know what the problem is. The DNS lookup from url to ip address is not working, since I can connect to the database using
psql if I use an external ip lookup service and feed it the actual ip of the database. But if I use the url for the DB, it can't resolve the host name.
Has anyone had similar problems? Do I just need to wait for the DNS records to propagate? Or are there any better solutions?...TRPC onClick
What is the best way to call a TRPC client on a button click.
looking to get data from TPRC...
Handling UI components (SR) libs with Next13/app
How one would handle an UI component library wich supports Server rendering of those components within the new Next13 app folder? Up until now there was hook points in _app and _document Where you could setup the library to work on Server/Client but How about now.? How about Server components ?
running a query only if a boolean is true
the component which Im running the query in is always mounted in app.tsx and I only want it to run a query when its opened, (the component is a modal)
Multiple Database reads in a single roundtrip with Kysely
Is it possible to do multiple SELECTs from the db without another await? I'm assuming I could do something similar with Promise.all(). Is this the best solution?
Library recommendation for Authentication on React?
On React Ive only worked with Cognito but since Im not using AWS I dont know what else.
Ive built once an app doing from scratch but on Next.js.
Im also using monorepo (dont know if it gives any advantages for share code with server so)...
should I share TRPC client in a internal package?
I have 2 clients and 1 server in one monorepo. these 2 clients are consuming the same api/using the same trpc.
both are doing the same, having a file just to crate the TRPC on the app by following this code:
export const trpc = createTRPCReact<AppRouter>();
...404 at default signin route api/auth/signin
Any ideas why NextAuth is not giving me a default form? Gives me a 404 page at api/auth/signin
Tips/Tricks for large scale create-t3-turbo projects?
Curious if anyone has experience using create-t3-turbo for a large scale app/website and ran into any footguns or things they would've done differently. Specifically wondering about the separation of concerns between react native and the next.js app. There is alot of docs about scalable next, but adding native does bring about some need for planning.
TypeError: resolver is not a function
When trying to access the login page. Using App Router and https://next-auth.js.org/configuration/initialization#route-handlers-app
query
New to Nextjs/T3, how do you change the favicon/ tab logo and title of webpage from a npm create t3-app@latest?
Updating Class sections based on a selected course
I am creating a testing website. I am trying to create a form where teachers can create a test for one or more sections of a course that they are teaching. Inside the form, the teacher will see the courses that they are teaching and once that is selected I query for the sections in the selected course. The problem is I am not sure how to query for the sections without it throwing a INVALID HOOK CALL error. I have attached the query code the the test form.

t3 tutorial- chirp project...vercel build fails.
Following along with Theo's 2+hr video....got to the very first deployment to vercel. Project imports fine. Prisma db connection went fine. npm run build works fine locally...but...
Other than the database config from the tutorial, I've changed nothing in the app. Is there another config issue somewhere in Vercel? (Yes I added the env variable)
When vercel does a build to deploy:...
Any good datepicker libraries?
I don't know what to use for picking dates. Specifically DOB right now.
TailwindCss typescript error in config
I have a question regarding the implementation of the tailwind.config.js that uses the custom default props and has theme as a prop in the typography specification.
How do you make it work in typescript environment?
```...
How to do a WHERE clause for a JSON field in kysely
Basically the title. I'm trying to convert the following prisma query to kysely and can't figure out how to do the individual statements inside the where:
```ts
prisma.tournament.findMany({
take: 24,...
Solution:
Hey 👋
A built-in type-safe support for json traversal might be introduced in a future release. There's a PR I'm experimenting in. Postgres as always is different 😐 .
For now:...
Question regarding tRPC
Hello everyone,
I have the following file in
src/pages/room/[slug].tsx:
```...