Skip to content

Conditionally Stream PageData : Universal vs Server #12285

Answered by david-plugge
enda asked this question in Q&A
Discussion options

You must be logged in to vote

Firstly it feels odd to use both server and shared load in this case. The shared load function should be enough here. But i dont think you can stream data coming from +page.ts loads?
You could also take a look at svelte-query to cache the data client side and provide your loading strategy of choice.

Edit: since you dont stream data in ssr, the shared load only approach should work fine here

Replies: 2 comments

This comment has been hidden.

Comment options

You must be logged in to vote
0 replies
Answer selected by eltigerchino
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #12067 on May 31, 2024 06:51.