More #JavaScript folks should consider using the SharedWorker API in their app. Especially if you have particularly heavy initializing code.
E.g. instead of Element loading everything from scratch each time you open it in a tab, it could have the bulk of the resources shared across tabs in a worker and have speedier inits that don't block the render thread.
https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker
@thisismissem @renchap it's similar to how desktop gui apps can have separate "main threads" with all their logic and renderer threads that talk to the main thread to get data in and out.
@mauve I still need to learn how this works, thinking it could bring good wins to Mastodon & others. cc @renchap