Search
Star
Feedback
Setup for Free
Β© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to do client side redirects - SolidJS
S
SolidJS
β’
2y ago
β’
12 replies
icanflyit
How to do client side redirects
Quick client vs SSR question
: What is the recommended way to do a redirect from the client side
? My understanding is
throw redirect()
throw redirect()
is only available from an SSR context
.
Also
, if I wanted to redirect regardless of whether I was client of server side
, would
"use_server"
"use_server"
along with
throw redirect()
throw redirect()
be appropriate there
. If not what would the recommended way to do this be
.
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
Server-side redirects are done client-side
S
SolidJS / support
11mo ago
How to handle hydration on client side?
S
SolidJS / support
3y ago