Svelte · Senior · Question 38 of 75
Why are form actions a good default for mutations in SvelteKit?
- ✓Correct answer: They work without JavaScript, use web standards (
FormData), and withuse:enhanceadd smooth client behaviour and automatic invalidation - 2They are the only way to send POST requests
- 3They are faster than fetch
Explanation
Progressive enhancement keeps forms usable on slow devices, before hydration and when JavaScript fails.