News for hackers. Stuff that matters.
Re:Modern CSS Code Snippets: Stop writing CSS like it's 2015 by lateforwork on Sunday February 15, 2026 @07:22PM (#47029312)
When React launched in 2013, its defining idea was strict one-way data flow: parents pass data down via props, and updates happen in a clear, explicit place. Children can't mutate parent state directly; they signal changes through callbacks. The result is predictable, traceable state changes.

This contrasted with MVVM frameworks like early AngularJS, Knockout, and WPF, which relied on two-way data binding. That automatic syncing felt convenient for small apps, but at scale it often led to hidden coupling and hard-to-trace update chains.

Over time, many developers came to view pervasive two-way binding as a design mistake in complex systems. React's unidirectional model gained traction because it favored clarity and control over "magic."

Re:Modern CSS Code Snippets: Stop writing CSS like it's 2015 by ozim on Monday February 16, 2026 @01:47AM (#47031672)
Thanks GPT but I know all of that. I was expecting some eye opening new evidence because person I was asking seemed really confident and using strong words.

But that’s just generic „blablabla”. MVVM is not a mistake and is still plenty useful.

Re:Modern CSS Code Snippets: Stop writing CSS like it's 2015 by lateforwork on Monday February 16, 2026 @12:25PM (#47037668)
If it is useful for you then it is not a mistake. For you.