Svelte Playground
Code
Optimistic Updates
Update should occur immediately on client side, while background tasks run.
Empty input should return an error immediately (simulating form validation error).
Input of "fail" should optmistically update and then return an error.
Input here
Input
Submit