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
I'm actually not sure if this is a Svelte or mode-watcher issue.
It seems like under certain circumstances, simply accessing mode.current can trigger the derived function of it, and since that might call withoutTransition (which force the browser to repaint), the browser may freeze if there are a bunch of them on the page.
Setting disableTransition to false so that withoutTransition is not called can make things a lot better, but since there is still a document.querySelector in update, which is not really cheap if the page is complex, it might still slow down the page.