ProtectedRoute with a redirect using @solidjs/router
Hi everyone. Is there a way to implement a ProtectedRoute, but with a redirect using
@solidjs/router? All the examples I have seen, do something like user ? <Component /> : <Login />, but the url remains the same..