79340946

Date: 2025-01-08 23:01:22
Score: 1
Natty:
Report link

You can also use the dynamic import function provided by next/dynamic to disable SSR on a specific component.

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

Or from the component itself:

export default DynamicTimer = dynamic(() => 
  Promise.resolve(Timer), {
    ssr: false,
})
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Colum Kelly