SolidJSS
SolidJSโ€ข3y agoโ€ข
3 replies
Bravi

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..
Was this page helpful?