Re:Ask HN: What happened to vanilla HTML/CSS/JS development?
by fiddlerwoaroof on Friday September 09, 2022 @11:14PM
(#32787394)
React is intentionally not two-way binding.
Re:Ask HN: What happened to vanilla HTML/CSS/JS development?
by ak39 on Saturday September 10, 2022 @02:56AM
(#32788482)
And yet, after all these years, Svelte is a response precisely to that design philosophy: taking us back to accepting that two-way binding is nothing to be scared of. The endless loop of thinking in the JS community is expensive.
When did "data binding" become "reactivity" (why the need to create a whole new lexicon for the same ol' thing)? A lot of this confusion (as per the OP) could have simply been explained away by saying we needed frameworks to bind HTML (visual components) to data. Two-way binding existed in many desktop frameworks before SPAs were even thought of.