#Help

8 messages · Page 1 of 1 (latest)

carmine scaffold
#

I need to use 'use client to use onclick and when I type use client it doesn't work because prisma is serverside

#

help

obsidian mica
#

Assuming that you are using Next.js.
Can't you use API routes to implement Prisma Specific logic and invoke the API route on the button click?

carmine scaffold
#

okay

#

thanks

#

do you know this error