During SSR getting document is not defined, it would be great if we can make this global check.
Yep, would be nice if Muuri played nice with SSR. I'm not fully sure what that would entail code-wise so if anyone wants to chime in (e.g. in the form of PR) that would be awesome.
The idea is to use https://www.npmjs.com/package/global instead of directly using window / document.
Thanks
Alrighty, sounds pretty straightforward if that's all what it takes. This would need tests too. Let's see if someone wants to take a stab at this at some point.