Re:Svelte is the most beautiful web framework I've seen
by s_y_n_t_a_x on Tuesday July 02, 2019 @02:12PM
(#20337804)
I think it's the reverse. If you write pure functional components, React is very understandable. It's easily testable, you know that you'll have the same output if you pass it the same props. Svelte templates just take us back where we've been, with the twist of compiling the templates, which I believe some templating libraries already did.
[ Parent
| on HN ]
Re:Svelte is the most beautiful web framework I've seen
by mfatica on Tuesday July 02, 2019 @02:46PM
(#20338169)
React conceptually is very understandable, but understanding what it's actually doing under the hood is not.
Re:Svelte is the most beautiful web framework I've seen
by s_y_n_t_a_x on Tuesday July 02, 2019 @03:10PM
(#20338385)
You can dive down and learn the inner workings, the same as you can dive down and learn how the svelte compiler works, but it's not needed for either one. Understanding the concept is more important.
Re:Svelte is the most beautiful web framework I've seen
by machiaweliczny on Wednesday July 03, 2019 @02:35PM
(#20347206)
It's only because of events implementation and async rendering. Writting preact clone is super easy.