Skip to content

Commit

Permalink
Demonstrating another Next.js bug: vercel/next.js#19862
Browse files Browse the repository at this point in the history
  • Loading branch information
vojto committed May 28, 2021
1 parent a5b070e commit 83345fc
Show file tree
Hide file tree
Showing 3 changed files with 4,953 additions and 5 deletions.
3 changes: 1 addition & 2 deletions components/some-comp.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import dynamic from 'next/dynamic'

const SomeDynamicComp = dynamic(() =>
import('./some-dynamic-comp').then((mod) => mod.SomeDynamicComp),
{ ssr: false })
import('./some-dynamic-comp').then((mod) => mod.SomeDynamicComp))

export function SomeComp () {
return (
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"test": "jest --coverage"
},
"dependencies": {
"next": "10.2.0",
"next": "10.2.3",
"react": "17.0.2",
"react-dom": "17.0.2"
},
"devDependencies": {
"jest": "^26.5.3",
"@testing-library/react": "^11.0.4"
"@testing-library/react": "^11.0.4",
"jest": "^26.5.3"
}
}
Loading

0 comments on commit 83345fc

Please sign in to comment.