Replies: 1 comment
-
how would that look like in the browser then? would this after hydration insert elements in head? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
🚀 Feature Request: Support for Streaming Head Metadata from Deferred Data
Hello TanStack team 👋
Feature Request
I’d like to propose a feature that allows support for streaming metadata (head elements) from deferred data, similar to Next.js 15.2's streaming metadata.
Here the discussion with @schiller-manuel on Discord : https://discord.com/channels/719702312431386674/1376595249052520651
Use Case
I’m working on a route like
/posts/$postId
, where I load a post with all the relevant data including:Currently, I can use
loaderData
to populate the<head>
metadata — and that works great for synchronously loaded data. However, I would love to go further and use deferred (streamed) data in the head as well.Why it matters
Possible API / Behavior Suggestion
Maybe something like:
Beta Was this translation helpful? Give feedback.
All reactions