Standalone, declarative <Head /> for Preact.
Supports both client and server-side rendering.
<Head>
<title>{state.title}</title>
<meta name="Whatever" content={state.count} />
</Head>yarn add preact-head
This was inspired by and ported from next.js & react-declarative-head with adjustments to make it work with well with Preact.
MIT