Svelte · Middle · Question 34 of 75

Why use the fetch passed to load instead of the global one?

Explanation

Requests to your own +server.js endpoints during SSR even call the handler directly without HTTP.

Further reading

Problem with a question

Svelte · Middle · question 34

Test yourself

Take the Svelte · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz