TanStack Integration with server-side prefetching
but it doesn't work, because
convexQuery seems to require a context provider, which is clientside only.I know that convex has its own preloading api for server rendering, but I would much prefer to not have to pass every single preloaded query as a prop to the components using them. The pattern is very prone to prop drilling. It's nicer to pass down one prop for all of your dehydrated state into some sort of context provider. Maybe there's another way to do something like this without the need for tanstack query?
