Loading....
Short answer: Yes. Long answer: It depends on your use case.
asked 2 months ago
4
36
I am trying to understand how **Server Actions** work in Next.js 14+. Can someone explain how to mutate data without using API routes?
I have this form:
```tsx
<form action={create} />
```
But how do I handle validation?Short answer: Yes. Long answer: It depends on your use case.
Have you tried restarting the dev server? Sometimes that helps.
Can you provide more context? What version are you using?
You have a typo in your code. Line 3 should be...
1
12
3
9
0
1
1
4
1
5
1