avant
Explore posts from serversHTTP trip, custom backend
I was reading about this main idea of SSR, that it skips one step by fetching data and sending it from the backend instead of frontend
So what if I want to have my own backend, then when route changes my
createServerData$
sends a request to my other backend instead of straight to database and thats an additional trip (? if I got it right)
So the question is
If both SolidStart project and my custom Rest Api are on the same server, but different port, is it a big deal? Should I use SolidStart as my main backend if I want it to be as fast as possible?
Thank you2 replies
Where to protect SolidStart routes?
I tried layouts, but it loads data only once per page if I'm right, so if user gets logged out it doesn't react
I tried middleware like in here https://start.solidjs.com/advanced/middleware, but it didn't re-load either, so am I doing something wrong (I'm not the sharpest tool) or is there a better way?
2 replies
Suspense
Can someone explain the part on why I shouldn't jump into using it? I don't understand
https://www.solidjs.com/tutorial/async_suspense
Thank you
2 replies