-
Notifications
You must be signed in to change notification settings - Fork 108
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
refactor(wagmi): optimize the implementation of wagmi provider #1003
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
几个比较大的变化:
<WagmiWeb3ConfigProvider chains={[mainnet, polygon]} multiInjectedProviderDiscovery />
<WagmiWeb3ConfigProvider connectors={[metaMask({ group: 'Popular' }), imToken({ name: 'ImToken' })]} />
<WagmiProvider config={myConfig}>
<PersistQueryClientProvider client={myQueryClient} persistOptions={{ persister }}>
<WagmiPureConfigProvider>{* ... *}</WagmiPureConfigProvider>
</PersistQueryClientProvider>
</WagmiProvider> |
对于用户自定义的需求,PersistQueryClientProvider 放在外面可行吗?
|
Fix #919