NotLuksus
Explore posts from serversShared Layouts with SolidStart
I wondered if its possible to have a shared Layout for
the routes
/ and /pricing
but not for /dashboard
e.g. I have a navbar I want to show only on that routes.
From the docs it seems like it's only possible for pages inside folders so
/landing/
/landing/pricing
having a different layout then
/dashboard
would work?
3 replies
createAsyncResource and <Suspense>
I would expect this to first render
Todos
Loading...
for 2 seconds and then all the todos in a list instead of the Loading
However when I open the page, the browser loading indicator is there for 2 seconds and then just the "end result" gets rendered in the browser.
What am I doing wrong?
Quite new to solid so please excuse if this question is dumb haha
Thanks for help!
8 replies