I'm facing an issue using this library on my Remix app. I'm wondering, why does it perform a side effect on window when I import it from my server-rendered component?
I managed to prevent the library from doing the side effect in the server by importing it on a client-only component. I'm wondering why it does immediately perform modification on the window object when you try to import it.
I'm facing an issue using this library on my Remix app. I'm wondering, why does it perform a side effect on window when I import it from my server-rendered component?
I managed to prevent the library from doing the side effect in the server by importing it on a client-only component. I'm wondering why it does immediately perform modification on the window object when you try to import it.