Skip to content

Removed top-level calls to window and document to make lib work with SSR#318

Merged
WickyNilliams merged 4 commits intoWickyNilliams:masterfrom
r00dY:master
Sep 3, 2019
Merged

Removed top-level calls to window and document to make lib work with SSR#318
WickyNilliams merged 4 commits intoWickyNilliams:masterfrom
r00dY:master

Conversation

@r00dY
Copy link
Contributor

@r00dY r00dY commented Jun 5, 2019

Server side rendering environment might have document or window objects missing. However, it should be still possible to import library without them.

r00dY and others added 4 commits June 5, 2019 18:18
…f SSR environments

Server side rendering might have document and window objects missing. It should be still possible to import library despite that fact.
@WickyNilliams
Copy link
Owner

Excuse the delay! Thanks for this @r00dY. I just fixed the conflicts, and this seems good to merge now.

@WickyNilliams WickyNilliams merged commit 469a74c into WickyNilliams:master Sep 3, 2019
@WickyNilliams
Copy link
Owner

Published to npm as v0.10.0 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants