`fetchQuery` is an asynchronous method that can be used to fetch and cache a query. It will either resolve with the data or throw with the error. Use the `prefetchQuery` method if you just want to fetch a query without needing the result.
6 additions and 11 deletions+6-11packages/preact-query/src/__tests__/ssr-hydration.test.tsxModified