⚛
SSR
Use this to check if window
is defined
js
const windowGlobal = typeof window !== 'undefined' && window
Useful libraries when working with SSR:
Use this to check if window
is defined
const windowGlobal = typeof window !== 'undefined' && window
Useful libraries when working with SSR: