You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const broadcastChannel = new window.BroadcastChannel("pub-sub-es");
So that it silently handles when window is not available, without it I have to faff around with conditional import and promises to get a pubSub instance in the browser.
The text was updated successfully, but these errors were encountered:
ispyinternet
changed the title
Feature request: subscribe using event wildcard or pattern matching
global use of 'window' breaks apps with SS$
Feb 4, 2025
ispyinternet
changed the title
global use of 'window' breaks apps with SS$
global use of 'window' breaks apps with SSR
Feb 4, 2025
Can you fix the dependency on window in
const broadcastChannel = new window.BroadcastChannel("pub-sub-es");
So that it silently handles when window is not available, without it I have to faff around with conditional import and promises to get a pubSub instance in the browser.
The text was updated successfully, but these errors were encountered: