UNPKG

next

Version:

The React Framework

18 lines (17 loc) 771 B
// TODO-APP: hydration warning import './app-webpack'; import { renderAppDevOverlay } from 'next/dist/compiled/next-devtools'; import { appBootstrap } from './app-bootstrap'; import { getComponentStack, getOwnerStack } from '../next-devtools/userspace/app/errors/stitched-error'; import { isRecoverableError } from './react-client-callbacks/on-recoverable-error'; // eslint-disable-next-line @next/internal/typechecked-require const instrumentationHooks = require('../lib/require-instrumentation-client'); appBootstrap(()=>{ const { hydrate } = require('./app-index'); try { hydrate(instrumentationHooks); } finally{ renderAppDevOverlay(getComponentStack, getOwnerStack, isRecoverableError); } }); //# sourceMappingURL=app-next-dev.js.map