Bravi
ProtectedRoute with a redirect using @solidjs/router
Hey @._rb , thanks for your reply. Unfortunately this approach doesn't work, because even if I land on a different route (not the protected one), both the
onMount
inside a protected route and <Navigate />
are executed and therefore I'm redirected to /login
4 replies