Expose initialData
in useContractRead
options
#1914
Unanswered
greg-schrammel
asked this question in
Ideas
Replies: 1 comment 2 replies
-
For |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
yo, thoughts on exposing the
initialData
react query option?my current setup is this
a util contract fetches all available markets with it's latest price,
a market is selected and then I wanna watch the price on the route selected market,
would be cool to have the initial data from the other contract call already there
another way I see is set with the
queryClient.setQueryData
, but initialData feels betterBeta Was this translation helpful? Give feedback.
All reactions