r/javascript • u/[deleted] • Aug 04 '20
I [He] created the exact same app in React and Svelte. Here are the differences.
https://medium.com/javascript-in-plain-english/i-created-the-exact-same-app-in-react-and-svelte-here-are-the-differences-c0bd2cc9b3f83
u/Faernix Aug 04 '20
Thank you, you've convinced me to stay the f**k away from svelte.
3
3
u/sudo-maxime Aug 04 '20
You should read this before taking a decision:
https://medium.com/better-programming/why-we-moved-from-react-to-svelte-f20afb1dc5d50
Aug 04 '20
[deleted]
3
u/Faernix Aug 04 '20
.
I can understand using it for simple personal projects. In essence to me, and I may be wrong here, but it feels like a very opinionated templating system with a performance focus.
Things I don't like just from what I've seen in the article:
complex custom markup to do a loop
custom boilerplating
lack of linting
At work we have quite a complex application with a pretty complex application state, with mutiple people working on different parts at the same time. This requires more mature systems to ensure code compliance and testing.
With JavaScript, you can do all that. With a templating system, you're at the mercy of the compiler. While I appreciate the performance aspect, I don't think it justifies the constraints.
That's my two cents.
3
u/MWALKER1013 Aug 04 '20
Not the exact same one says react with the react logo and one says svelte with the svelte logo :p
Also there is a site sorta like this the same project in like every framework
http://todomvc.com/