Svelte · Middle · Question 33 of 75
What must data returned from a server load be?
- ✓Correct answer: Serializable with devalue (objects, arrays, dates, Maps, Sets, BigInt…), since it's sent to the browser
- 2Only strings
- 3Anything, including component constructors
Explanation
A universal load can return non-serializable values (like a component), because it runs in the browser too.