Skip to content

Optimistic UI #313

Open
Open
@Jonnotie

Description

@Jonnotie

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions