Server actions custom invocation w/ useTransition
Unanswered
American Curl posted this in #help-forum
American CurlOP
Hi all,
is anyone able to reproduce this example from the docs? https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions#custom-invocation-using-starttransition
In my application I get a
Is that a mistake in the docs or what am I missing
is anyone able to reproduce this example from the docs? https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions#custom-invocation-using-starttransition
In my application I get a
Type 'Promise<void>' is not assignable to type 'VoidOrUndefinedOnly'. error on the startTransition method because my server action is async (like in the docs example). Is that a mistake in the docs or what am I missing