Next.js Discord

Discord Forum

how create update function with server action and prisma

Unanswered
Yellowstripe scad posted this in #help-forum
Open in Discord
Yellowstripe scadOP
i create todo app with prisma and mysql, i want create create update todo in component client for update I am lost with the states and the transmission to the server commebt faire

10 Replies

Read this carefully and understand everything under the 'Client Components' heading
If you still dont understand, let me know
Yellowstripe scadOP
I read several times I managed to create a delete update the title directly I can't do it
ps: sorry my english im a french
Bighead carp
Show me your code that compiles
Yellowstripe scadOP
Yellowstripe scadOP
I succeeded than you
but how reset input component server ?
Yellowstripe scadOP
I succeeded than you more !