rsnext/test/integration/hydration/pages/details.js
JJ Kasper 5a9a478cc8
Fix hydration with custom _app and granular chunks (#10144)
* Add failing hydration test

* Add importing of next/router to _app

* Fix type

* Update _app check for windows

* Remove babel fix

* Update to use webpack to require next/router
2020-01-17 14:13:51 -06:00

6 lines
116 B
JavaScript

export default () => {
if (typeof window !== 'undefined') {
window.didHydrate = true
}
return 'details'
}