Create embeddable widgets using react
Unordered
- Preact JS - a lightweight react alternative
- Preact Habitat - simple plugin to render our preact app
- Picostyles - lightweight alternative to styled-components
Code
Inline code
export default function Nextra({ Component, pageProps }) {
return (
<>
<Head>
<link
rel="alternate"
type="application/rss+xml"
title="RSS"
href="/feed.xml"
/>
<link
rel="preload"
href="/fonts/Inter-roman.latin.var.woff2"
as="font"
type="font/woff2"
crossOrigin="anonymous"
/>
</Head>
<Component {...pageProps} />
</>
)
}