Skip to content

Graz should not provide queryClient #141

@dalechyn

Description

@dalechyn

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Graz allows you to pass a queryClient, but it is not open enough.

In my case – I need to add a PersistentQueryClientProvider and I'm not able to do so unless I'm introducing two query clients which is unwanted.

return (
<QueryClientProvider key="graz-provider" client={queryClient} {...props}>
<ClientOnly>
{children}
<GrazEvents />
</ClientOnly>
</QueryClientProvider>

Describe the solution you'd like

This will cause a major release, but graz should not provide nor create query clients at all. wagmi doesn't do this since ^2.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

...

Additional context

Add any other context or screenshots about the feature request here.

...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions