How can I throw redirect from inside a closure that was created inside a loader?
I think using a navigate function would be an appropriate solution, but it’s currently deprecated. If there’s a proper way to handle a redirect thrown from inside a closure created within a loader—without causing an uncaught promise error—I would appreciate any guidance.

1 Reply
xenophobic-harlequin•2w ago
looks like you need to call router.navigate() in there?