-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
revert: fix: avoid using localstorage polyfill to support SSR
The actual issue is that most libraries need a way to identify the server-side environment and a lot of libraries do this by checking Node.js specific global or environment variables (like `process`). Instead of maintaining a custom implementation for `lib0/broadcastchannel`, we should fix the issue by providing the correct environment for libraries that expact Node.js compatiblity via a Node.js compatiblity mode.
- Loading branch information
Showing
4 changed files
with
8 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters