How to get `useParams` in the "root.tsx" in a server-rendered-page.
Inside the
root.tsx
before any FileRoutes
are resolved, how can we get the full path / the params for the current html-request?
When I use useParams().id
inside the root.tsx
, I always get undefined
.2 Replies