News for hackers. Stuff that matters.
Re:A Visual Guide to React Mental Models: UseState, UseEffec... by christophilus on Friday May 29, 2020 @05:44PM (#23355915)
I like Svelte a lot, but there’s definitely cognitive load when dealing with reactivity. In React, it’s top-down dataflow, which is generally easy to reason about.

I prefer the functional programming approach of React, but I love the performance and some of the developer ergonomics of Svelte.

Re:A Visual Guide to React Mental Models: UseState, UseEffec... by akiselev on Saturday May 30, 2020 @02:36AM (#23359021)
You don't have to use two way binding binding in Svelte. You can bind to change events just like in React and update your reactive variables directly. The primary downside is enforcing it in the code everyone else on your team writes.