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
-
If you use any other provider components in your app (which is very likely) you're forced to alias the
Provider
import 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
Provider
export as well as theWagmiProvider
alias (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