2b99db07f7
Replace `'client'` with `'use client'` as client directive for client components in RSC x-ref: [slack thread](https://vercel.slack.com/archives/C035J346QQL/p1665435520907559) Co-authored-by: JJ Kasper <jj@jjsweb.site>
10 lines
301 B
JavaScript
10 lines
301 B
JavaScript
import { appBootstrap } from './app-bootstrap'
|
|
|
|
appBootstrap(() => {
|
|
// Include app-router and layout-router in the main chunk
|
|
import('next/dist/client/components/app-router.js')
|
|
import('next/dist/client/components/layout-router.js')
|
|
|
|
const { hydrate } = require('./app-index')
|
|
hydrate()
|
|
})
|