SolidJSS
SolidJSโ€ข8mo agoโ€ข
9 replies
Odama626

client only routes

Hey all, I am running into issues with ssr enabled again.

I am trying to prerender my marketing pages, and then keep everything else that requires auth as client only.

I tried using
const AuthenticatedRoutes = clientOnly(() => import('./clientOnly'));


so now those routes work for client side navigation, but if I refresh the page on any of those routes I get a 404
Was this page helpful?