157
Postgres rule (programming.dev)
submitted 1 year ago by danhab99@programming.dev to c/196
you are viewing a single comment's thread
view the rest of the comments
[-] 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 02 Sep 2023
157 points (100.0% liked)

196

16245 readers
2981 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS