preact-head
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i preact-head

Weekly Downloads

57

Version

1.0.3

License

MIT*

Unpacked Size

19.9 kB

Total Files

12

Last publish

Collaborators

  • mattmueller