Can we use tss' server function in useActionState?
If yes, should it be in useServerFn and pass the result to the useActionState or the ServerFn can already be passed in the useActionState?
1 Reply
dependent-tanOP•8mo ago
I tried it know. Just wrap the serverFn with a signature of the first parameter of useActionState.