How to passing props from client to server without schema validation? #143
-
I'm trying to pass props to a server without schema validation. Any straightforward solutions or advice would be greatly appreciated. // server action
const schema = zfd.formData({ ... })
export const updateSomething = authAction(schema, async () => { ... }) // do something // client side
const action = useAction(updateSomething(needToPassingPropsHere)) Usually, I use |
Beta Was this translation helpful? Give feedback.
Answered by
TheEdoRan
May 27, 2024
Replies: 1 comment 2 replies
-
v7 has support for bind arguments. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
farhantallei
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
v7 has support for bind arguments.