DEV Community

Discussion on: What you prefer svelte or react?

Collapse
 
blindfish3 profile image
Ben Calder

Svelte! It's looking pretty good in terms of bundle size and performance; but I'm also really enjoying the experience working with it (despite my current editor not doing too well with syntax highlighting etc). It's just so straightforward to use:

  • minimal boilerplate
  • I much prefer the approach to defining HTML output
  • it should be really easy to onboard junior devs who will already be familiar with using HTML; and <script> and <style> tags :D
  • it provides some really useful optional functionality - e.g. transitions; window events (scroll) etc.

At the moment it's still rather young; so the only downside is persuading colleagues that it's a better choice than React.