Next js – disable server side rendering on some pages

Lazy load the component and disable SSR: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr

import dynamic from 'next/dynamic'

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

export default () => <DynamicComponentWithNoSSR />

Leave a Comment

techhipbettruvabetnorabahisbahis forumueduseduedusedueduseduedusedusedusedu