Redirection does wait until Server Action finished
Unanswered
Savannah posted this in #help-forum
SavannahOP
I have a client component that uses <form action={}> with an Server Action.
In that Server Action there is a
So for example I redirect from a list to detail page, the redirect to detail page is then done after the detail page's data is loaded.
Even though I use Suspense.
What am I doing wrong?
In that Server Action there is a
redirect , but this redirect is only happening when the loading within the redirected page is finished.So for example I redirect from a list to detail page, the redirect to detail page is then done after the detail page's data is loaded.
Even though I use Suspense.
What am I doing wrong?