Skip to content

Is it possible to use the global SWR mutate with RPC? #640

@pranavbadami

Description

@pranavbadami

Hey @psteinroe , hope you're well! Quick question, is it possible to use the global mutate() on an RPC? For example, mutate('rpc/people_list_query')? It didn't seem to work for me but I could be doing something wrong.

I also tried with:

const  { mutate } = useSWRConfig();

mutate('rpc/people_list_query')

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions