News for hackers. Stuff that matters.
Re:VanJS: A 0.9KB JavaScript UI framework by taoxin on Wednesday December 20, 2023 @05:35PM (#38714556)
States are mutable whose value can be get/set via the ".val" property. However, the value of the states should be (ideally) an immutable object (or primitives).
Re:VanJS: A 0.9KB JavaScript UI framework by dimeatree on Wednesday December 20, 2023 @05:41PM (#38714620)
Yeah I understood that better, thanks.