Answers for "next js disable ssr"

25

next js disable ssr

import dynamic from 'next/dynamic'

const DynamicComponentWithNoSSR = dynamic(() => import('../components/List'), {
  ssr: false
})

export default () => <DynamicComponentWithNoSSR />
Posted by: Guest on June-29-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language