@gordon.bsky.social@bsky.brid.gy Oh cool I do a similar approach for Agregore actually. But instead of components listening on window I wire them up in a main "script.js" so I can keep the components separate from the data and general app shape. https://github.com/AgregoreWeb/agregore-browser/blob/master/app/ui/script.js
Got any code I could read?