Alias/rename Provider to WagmiProvider #158
Replies: 1 comment 3 replies
-
|
Let's do it! |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If you use any other provider components in your app (which is very likely) you're forced to alias the
Providerimport yourself, both to avoid collisions and to improve code clarity. It would be nice if the provider already had a name designed for this:This could be done in a non-breaking way by exposing the original
Providerexport as well as theWagmiProvideralias (andWagmiProviderProps). The only downside I can see is that it makes documentation a bit more difficultβbut not too bad.Beta Was this translation helpful? Give feedback.
All reactions