disable server side rendering next js

Solutions on MaxInterview for disable server side rendering next js by the best coders in the world

showing results for - "disable server side rendering next js"
Samuel
09 Nov 2018
1import dynamic from 'next/dynamic'
2
3const DynamicComponentWithNoSSR = dynamic(() => import('../components/List'), {
4  ssr: false
5})
6
7export default () => <DynamicComponentWithNoSSR />