• mindbleach@sh.itjust.works
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Ran into low-stakes, small-scale versions of this in Javascript “live collections.” CSS-based (CSS-like?) query selectors return one of JS’s many Array-like object types. Just… so many partially-implemented Array variations. Anyway: Array.from( document.querySelectorAll( ‘whatever’ ) ) turns the initial auto-updating set into a more static list of elements.