silverwolf-x/project / packages /next /src /shared /lib /head-manager-context.shared-runtime.ts
silverwolf-x's picture
download
raw
461 Bytes
import React from 'react'
export const HeadManagerContext: React.Context<{
updateHead?: (state: any) => void
mountedInstances?: any
updateScripts?: (state: any) => void
scripts?: any
getIsSsr?: () => boolean
// Used in app directory, to render script tags as server components.
appDir?: boolean
nonce?: string
}> = React.createContext({})
if (process.env.NODE_ENV !== 'production') {
HeadManagerContext.displayName = 'HeadManagerContext'
}

Xet Storage Details

Size:
461 Bytes
·
Xet hash:
ecfb8749698e6d0c08622ee7f80892cab3ae914796ccd6ba705b556295fa2efd

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