Answers for "disable server side rendering next.js"

25

disable server side rendering next.js

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