trpc-svelte-query
trpc-svelte-query copied to clipboard
Normal pre fetching using ssr works fine. However pre fetching an infinite query doesnt seem to have any effect. I logged the data in my +page.server.ts and the data that...
Was getting a type error in the +layout.svelte file when creating the query client because it was expecting a resolved promise in `trpc.hydrateFromServer`
The readme example for pre-loading on the +page.server.ts should look like this. ```typescript import { trpcServer } from '$lib/server/server'; import type { PageServerLoad } from './$types'; export const load: PageServerLoad...
Fixing import in README from trpc to trpcServer.