feat: bring back <Head> component (#3249)
This PR brings back the `<Head>` component from Fresh 1.x . The implementation is much cleaner than back then and also works client-side now too.
This commit is contained in:
@@ -52,3 +52,5 @@ export function Partial(props: PartialProps): VNode {
|
||||
return props.children as any;
|
||||
}
|
||||
Partial.displayName = "Partial";
|
||||
|
||||
export { Head, type HeadProps } from "./head.tsx";
|
||||
|
||||
Reference in New Issue
Block a user