@tanstack/solid-router
Version:
Modern and scalable routing for Solid applications
11 lines (10 loc) • 635 B
TypeScript
/**
* @description The `HeadContent` component is used to render meta tags, links, and scripts for the current route.
* When using full document hydration (hydrating from `<html>`), this component should be rendered in the `<body>`
* to ensure it's part of the reactive tree and updates correctly during client-side navigation.
* The component uses portals internally to render content into the `<head>` element.
*
* Development version: filters out dev styles link after hydration and
* includes a fallback cleanup effect for hydration mismatch cases.
*/
export declare function HeadContent(): import("solid-js").JSX.Element;