News for hackers. Stuff that matters.
Re:VanJS: A 0.9KB JavaScript UI framework by qayxc on Wednesday December 20, 2023 @02:24PM (#38712518)
Technically, every element that's not in the shadow DOM is a global. But yes, there's plenty of ways to implement this and an argument to had for most of them.
Re:VanJS: A 0.9KB JavaScript UI framework by fs_tab on Wednesday December 20, 2023 @03:01PM (#38712922)
Right, I should have clarified that they're properties of the window object.