silverwolf-x's picture
download
raw
567 Bytes
import dynamic from 'next/dynamic'
import Head from 'next/head'
const Test = dynamic({
loader: async () => {
// component
return () => {
return (
<div className="dynamic-style">
<Head>
<style
dangerouslySetInnerHTML={{
__html: `
.dynamic-style {
background-color: green;
height: 200px;
}
`,
}}
/>
</Head>
test
</div>
)
}
},
ssr: false,
})
export default Test

Xet Storage Details

Size:
567 Bytes
·
Xet hash:
9c827dbc492fb066bc83de6bc6a512dd8c41181c921150ddc4b127e4b738b120

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.