first of all, thank you for making this component!
My question is, did you think about making this component work in server-side rendered apps? It breaks there because window object is not available, so I was thinking if we just added window && to this line if (window.CSS && window.CSS.supports) { it would work? What do you think? I can create a PR for that
Hey,
first of all, thank you for making this component!
My question is, did you think about making this component work in server-side rendered apps? It breaks there because
window
object is not available, so I was thinking if we just addedwindow &&
to this lineif (window.CSS && window.CSS.supports) {
it would work? What do you think? I can create a PR for that