Svelte · Senior · Question 30 of 75
What does the transport hook allow?
- ✓Correct answer: Passing custom types (like class instances) across the server/client boundary by defining how to encode and decode them
- 2Choosing HTTP/2 or HTTP/3
- 3Streaming files
Explanation
By default only devalue-serializable values can cross the boundary from server loads and actions.