Skip to content

How do we use different load() for clients and servers? #13257

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

You must be logged in to vote

The fetch function that is passed into load functions is doing a bit of magic here. Take a look at https://svelte.dev/docs/kit/load#Making-fetch-requests (3rd bullet point). No additional network requests are made.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@david-plugge
Comment options

Answer selected by sshockwave
@sshockwave
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants