0
()
submitted a long while ago by @ to c/@
you are viewing a single comment's thread
view the rest of the comments
[-] Psaldorn@lemmy.world 20 points 1 year ago
[-] mindbleach@sh.itjust.works 2 points 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.

this post was submitted on 01 Jan 0001
0 points (NaN% liked)

0 readers
0 users here now

founded a long while ago