react-native-web with existing web and mobile app
lets say you have a SPA web app with reactjs and a mobile app with react-native already with different state management and navigation across the two projects. you want to push for unified code between the two with react-native-web. how would you incrementally adopt react-native-web with these two projects. would you need a third project to develop net new features / interfaces in react-native-web where the interfaces are state and routing agnostic? this would be sort of a library that you use i...
No tRPC requests after integrating Clerk
I integrated Clerk according to the docs and removed next-auth stuff. But now no trpc requests are being made anymore?? If I log in the [trpc].ts request handler I don't see anything in the console. Does clerk block this somehow? Super confused.
Solution:
I integrated Clerk according to the docs and removed next-auth stuff. But now no trpc requests are being made anymore?? If I log in the [trpc].ts request handler I don't see anything in the console. Does clerk block this somehow? Super confused.
Zod - instanceof z.ZodError
```ts
try {
coursePOST.body.parse(requestBody);
} catch (error) {
if (error instanceof z.ZodError) {...
@unqiue in Prisma Schema. With mySQL/Planetscale, does case sensitivity matter?
Lets take a standard
...
model User {
name String @unique
}
model User {
name String @unique
}
Is it neccessery to have Account model for Users model
I've been seeing this kind of pattern for Prisma's schemas. And wanted to know is this really necessary is this some standard that has some benefits that i don't see.
```ts
model User {
id String @id @default(cuid())
email String @unique...

accidently select Nextauth
I'm following along with the tutorial for chirp. Just for the deployment aspect. I selected Nextauth and see that he's using clerk. So now I have environment var errors on my server. Can I just delete the auth ts files? Or maybe I should start over.
Planet Scale alternative
I was wondering if there are any goo alternatives to Planet Scale with a good free tier?
Because
relationMode = "prisma" does not like my current schema...Testing the tRPC API and making requests
I need a tool to test my tRPC API, can i like create a file to do some requests, and if i can where should I put it?
And if there's a tool like postman that'd be cool!...
shadcn ui and react hook form
i really like the reusable component created by shad and trying to implement it with react hook form can someone here know how to implement them, especially with the <Select> component
thankss...
Clerk - multi-user login/profiles
Hi there
I’m trying to find any Clerk documentation on handling different sign up flows for different types of users. My site has 3 users. Of which I want them to have access to different parts of the site and have unique profile pages. Any pointers that anyone could share would be greatly appreciated, or would I need to use NextAuth for something like this?...
ts error raised on tailwind plugin
in tailwind config:
I get the squiggly for daisyui...
plugins: [require("@tailwindcss/typography", require("daisyui"))],
plugins: [require("@tailwindcss/typography", require("daisyui"))],
Expected 1 arguments, but got 2....Error of object possibly undefined
Hey i'm getting error "Object is possibly undefined even tho I'm checking him before. I can't figure it out...

Item cart session/ctx or backend?
I want to create a cart functionality for my shopping app and I am wondering which approach should I choose for implementing it. I thinking more towards using session but I can't figure out where I can add new stuff to it. Would anybody share their opinion on this topic? Also if you know how to add custom stuff to session and then add some objects to it on some interaction that please share you knowledge. Thanks!
Testing payments on development server
Hi guys, how are you approaching payments on development server.
I have full local setup (database, backend, frontend)
I obviously can't send a webhook to localhost, I also don't want to force developers into using ngrok/localtunell and then manually going into the stripe/paddle dashboard and setting url there whenever they test something.
Is there any common approach?
...
Prisma 2 relations to the same model
Hi, I'm working with Prisma for the first time, and I'm having trouble with a relation:
I have a Transfer and a Deposit model, but the Transfer has a from and a to relation both relating to the Deposit how can I implement this?
schema.prisma:...
create-t3-app | /app directory
Hello, I was wondering if I can create a t3 project with the new folder structure of next js or if there are any plans of updating it to the new folder structure
Forward Ref with SVG
```tsx
const ComponentToRender = dynamic(() => import('./../lib/assets/svg/1.svg'), {
loading: () => <p>Loading...</p>,
})
// eslint-disable-next-line react/display-name...
How to setup a T3 app for a PWA?
I am making a web app and I want it to be a PWA. I have installed the next-pwa library, added the manifest json but I am confused about how to set up its config file. It's giving error during build time.