Legit question: What makes Svelte's 2-way binding better than its 2-way binding predecessors?
Remember, part of the success of React is the rejection of 2-way binding and the bugs/confusion that came w/ it, favoring one-way data flow.
The verbosity is a feature, not a bug.
Real quick!
I was discussing this with @catalinmpit and thought I'd share!
Same component, does the same thing.
First image React the next one is Svelte.
This was one of the big "aha!" moments for me coming from React.
Take a look at the code in the next tweet!
Show this thread
13
13
1
160
5+ years have passed. You have a whole generation of programmers who have never felt the pain that React solves and don’t understand why it exists.
Oct 23, 2021 · 8:45 PM UTC
3
3
2
38