Closed marcusdarmstrong closed 7 years ago
window is undefined in node environments. To support server side rendering, a simple typeof short circuit stops it from erroring out.
window
makes sense! thanks
window
is undefined in node environments. To support server side rendering, a simple typeof short circuit stops it from erroring out.