Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize react-query and wagmi caching #3052

Open
lucianHymer opened this issue Nov 12, 2024 · 0 comments
Open

Optimize react-query and wagmi caching #3052

lucianHymer opened this issue Nov 12, 2024 · 0 comments

Comments

@lucianHymer
Copy link
Collaborator

Opitmize querying (e.g. don't refetch when changing tabs by default, some queries never need to be refreshed) for react-query and wagmi in Passport and staking apps. The wagmi hooks e.g. useReadContract, useWriteContract (not async) use react-query underneath, so look into whether this shares config with the main react-query or needs separate config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant