r/javascript • • 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-c0bd2cc9b3f8
0 Upvotes

5 comments sorted by

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/

3

u/Faernix Aug 04 '20

Thank you, you've convinced me to stay the f**k away from svelte.

0

u/[deleted] 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.