dehydrate / rehydrate apollo cache
looking to fetch a query inside my loader function and then write the apollo cache to a global variable. of course, i'd rather use tanstack query in the router but i'm working on mgirating a legacy project over from nextjs. is there a way to inject a variabe into the html on the serverside? it should be easy enough to read from window.APOLLO_STATE on the client side, but i'm unsure how to write it to the page with the data from my loaders https://www.apollographql.com/docs/react/performance/server-side-rendering