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

Function register

packages/next/src/client/index.tsx:273–274  ·  view source on GitHub ↗
([r, f])

Source from the content-addressed store, hash-verified

271 pageLoader = new PageLoader(initialData.buildId, prefix)
272
273 const register: RegisterFn = ([r, f]) =>
274 pageLoader.routeLoader.onEntrypoint(r, f)
275 if (window.__NEXT_P) {
276 // Defer page registration for another tick. This will increase the overall
277 // latency in hydrating the page, but reduce the total blocking time.

Callers 1

initializeFunction · 0.70

Calls 1

onEntrypointMethod · 0.80

Tested by

no test coverage detected