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
8:35 PM · Oct 23, 2021
13
13
1
160