next js disable ssr

Solutions on MaxInterview for next js disable ssr by the best coders in the world

showing results for - "next js disable ssr"
Lylia
10 Feb 2019
1import dynamic from 'next/dynamic'
2
3const DynamicComponentWithNoSSR = dynamic(() => import('../components/List'), {
4  ssr: false
5})
6
7export default () => <DynamicComponentWithNoSSR />