Consuming wagmi hooks via wrapper hooks bundled in an npm package. #2408
salieflewis
started this conversation in
General
Replies: 1 comment 4 replies
-
Is this hook used inside a |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've got a simple hook like this that lives in an npm package. The wagmi client itself is in the consuming app. Any time I invoke this function, I get the error, 'no wagmi config found'.
I know this was possible with previous versions of wagmi, and I've been following the conversations around this issue, React Query, SSR, and related concepts. Any advice would be greatly appreciated, and I'm happy to provide more context/spin up a sandbox if anyone can help.
Beta Was this translation helpful? Give feedback.
All reactions