Open
Description
Is your feature request related to a problem? Please describe.
When I'm waiting for my database to process a request, I'd like to see the UI already change.
Describe the solution you'd like
When inserting a new row with an undefined ID, I need to wait for the server to then update my local state. It would be cool to have this feel more instant.
Describe alternatives you've considered
I'm currently winging it with Jotai, but that doesn't work when inserting.
Additional context
https://swr.vercel.app/blog/swr-v2.en-US#mutation-and-optimistic-ui