Is it possible to have an initialData option for useQuery like in swr.
I'm using Next.js to fetch data in getInitialProps and i'd like that value to be the initial data when the same request is made with useQuery.
config.initialData is now supported in version 0.3.19 馃帀
where can i find the config.initialData document. I don;t see any details
@pawan52tiwari you can read it https://react-query.tanstack.com/docs/guides/initial-query-data
Most helpful comment
config.initialDatais now supported in version 0.3.19 馃帀