things I learned trying to make my PWA as close as possible to native speed and efficiency: - everything that is not UI related goes in a web worker. - some web API are good, some are poison. - avoid measuring element directly, use resize observable as much as possible. - Virtualise your lists, all of them. - abuse flatbuffers, those are great building blocks, ban JSON whenever possible. - do not use wasm in the main thread, it's terrible for UI related stuffs. - svelte 5 has no right to exist, stay on 4.