SolidJSS
SolidJSโ€ข2y agoโ€ข
1 reply
exercise

how to redirect in a "use server" function?

is there a way to redirect outside of cache, action and without useNavigate?
async function redirect() {
  "use server";
  // how??
  redirect("/other");
}
Was this page helpful?