Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to get `useParams` in the "root.tsx" in a server-rendered-page. - SolidJS
S
SolidJS
โข
3y ago
โข
2 replies
Bersaelor
How to get `useParams` in the "root.tsx" in a server-rendered-page.
Inside the
root.tsx
root.tsx
before any
FileRoutes
FileRoutes
are resolved
, how can we get the full path
/ the params for the current html
-request
?
When I use
useParams().id
useParams().id
inside the
root.tsx
root.tsx
, I always get
undefined
undefined
.
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
root.tsx & cookies
S
SolidJS / support
3y ago
How to call for server-side-data in the `root.tsx` of solid-start`
S
SolidJS / support
3y ago