rsnext/test/integration/basepath/components/nested2.js
Tim Neutkens 86808bbce2
Add basePath support (#9872)
* Add basePath support

* Add tests including copy of HMR tests

* Add production tests

* Add tests for serverless target

* Add missing quotes
2019-12-29 20:03:12 +01:00

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>
)