Skip to content

Commit

Permalink
Update .changeset/rare-actors-grab.md
Browse files Browse the repository at this point in the history
Co-authored-by: Augustine Kim <[email protected]>
  • Loading branch information
IMinchev64 and augustjk committed May 8, 2024
1 parent 37c3699 commit 435b10e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .changeset/rare-actors-grab.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
'@lit-labs/virtualizer': major
---

Change window to globalThis in Virtualizer.ts to support SSR scenarios.
BREAKING: Replace top-level access to `window` with `globalThis` so that loading the module won't error in non-browser environments.

A polyfill for `globalThis` may be needed if you are targeting an environment that does not support it.

0 comments on commit 435b10e

Please sign in to comment.