MCPcopy
hub / github.com/vercel/next.js / defaultHead

Function defaultHead

packages/next/src/shared/lib/head.tsx:8–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6import { warnOnce } from './utils/warn-once'
7
8export function defaultHead(): JSX.Element[] {
9 const head = [
10 <meta charSet="utf-8" key="charset" />,
11 <meta name="viewport" content="width=device-width" key="viewport" />,
12 ]
13 return head
14}
15
16function onlyReactElement(
17 list: Array<React.ReactElement<any>>,

Callers 2

renderToHTMLImplFunction · 0.90
reduceComponentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected