Skip to content

What is the purpose of trigger in the Optimistic UI example? #10

@ajones55555

Description

@ajones55555

In this file, https://github.com/praveenweb/swr-graphql/blob/master/pages/optimistic-ui.js

What is the purpose of trigger(mutation)?

The official Optimistic UI example doesn't use that https://github.com/vercel/swr/blob/master/examples/optimistic-ui/pages/index.js

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions