Home

Awesome

Preact-head

Standalone, declarative <Head /> for Preact.

Supports both client and server-side rendering.

Example

<Head>
  <title>{state.title}</title>
  <meta name="Whatever" content={state.count} />
</Head>

Installation

yarn add preact-head

Credit

This was inspired by and ported from next.js & react-declarative-head with adjustments to make it work with well with Preact.

License

MIT