[SSR] Prevent ImageTool from accessing window on server-rendered components.
Open
- Dominant language
- TypeScript
- Stars
- 285
- Forks
- 307
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.