86808bbce2
* Add basePath support * Add tests including copy of HMR tests * Add production tests * Add tests for serverless target * Add missing quotes
12 lines
221 B
JavaScript
12 lines
221 B
JavaScript
import dynamic from 'next/dynamic'
|
|
|
|
const BrowserLoaded = dynamic(async () => () => <div>Browser hydrated</div>, {
|
|
ssr: false,
|
|
})
|
|
|
|
export default () => (
|
|
<div>
|
|
<div>Nested 2</div>
|
|
<BrowserLoaded />
|
|
</div>
|
|
)
|