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,
})