Closed txbrown closed 5 years ago
Currently the package blows up when importing on a server-side rendered framework such as Nextjs. ReferenceError: window is not defined
ReferenceError: window is not defined
I am also curious about the dependency on the window object considering that its just a "dumb" component. @miukimiu I'll investigate this soon.
fixed by #63
https://github.com/miukimiu/react-kawaii/pull/63#issuecomment-895714503
Currently the package blows up when importing on a server-side rendered framework such as Nextjs.
ReferenceError: window is not defined
I am also curious about the dependency on the window object considering that its just a "dumb" component. @miukimiu I'll investigate this soon.