-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
Related to #202
My recommendation is as follows:
- Replace
useSolanaClient
anduseUpdateSolanaClient
to be one hook likeuseState
.const [client, updateClient] = useSolanaClient
- Use context to store client instead of react query
- Update react query
cacheKey
to use the ID of the cluster and remove invalidation logic that currently exists when updating a client - Remove
QueryClientProvider
fromSolanaProvider
and update documentation that this needs to be adding in your application
Metadata
Metadata
Assignees
Labels
No labels