I'm using defer and I've confirmed my data is resolving in the loader. My fallback ui renders and I can see that the page is waiting for the promise to resolve on the backend. When the promise resolves, the fallback gets swapped out for my actual component, however, the resolved object is empty.
I can confirm that the promise resolves to the expected, simple object on the backend, and there are no errors being triggered. Why does the same promise simultaneously resolve to an empty object on the frontend? I'm following the example posted in these docs: https://reactrouter.com/en/main/guides/deferred
I should also add that if I click away to another page (using clients side routing) and then click back to this page, the data renders as expected, which tells me this has something to do with how that data is streamed to the client.
I'm building my app using react-router v6.9.0, vite, and react w/ renderToPipeableStream().