I need an idea for useStateAction #313
Unanswered
UnderprotectionDev
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working with Next.js 15.1 and React 19. In my project, I have a PostForm component for creating and updating posts. I want to know whether I should use useStateAction or useAction.
Additionally, could you help me identify if there are any unnecessary fields or missing fields in the code below?
post-form.tsx
upsertPost.ts
post-schema.ts
safe-action.ts
Beta Was this translation helpful? Give feedback.
All reactions