Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
ProtectedRoute with a redirect using @solidjs/router - SolidJS
S
SolidJS
โข
4y 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
@solidjs/router
? All the examples I have seen
, do something like
user ? <Component /> : <Login />
user ? <Component /> : <Login />
, but the url remains the same
.
.
SolidJS
Join
Solid is a declarative reactive Javascript library for creating user interfaces.
12,274
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Creating a <ProtectedRoute/> component to use with solid router
S
SolidJS / support
2y ago
Problem with SolidJS router
S
SolidJS / support
9mo ago
Set Initial Route using @solidjs/router
S
SolidJS / support
3y ago