Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

disable server side rendering next.js

import dynamic from 'next/dynamic'

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

export default () => <DynamicComponentWithNoSSR />  
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #disable #server #side #rendering
ADD COMMENT
Topic
Name
5+6 =