Non-hooks abstraction for server-side functions #89
Unanswered
jem-computer
asked this question in
Ideas
Replies: 0 comments
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.
-
Wondering what y'all are doing to use this in API routes, getServerSideProps etc. As far as I'm aware you can't use hooks in any of those locations, right?
I ran into the same problem with
useDapp
previously and had to do something like this using the typechain factory and manually creating a new readonly JsonRpcProvider. would we benefit from wagmi including a non-hooksy abstraction?Beta Was this translation helpful? Give feedback.
All reactions