DEV Community

Engineering Expert
Engineering Expert

Posted on

Why should one pick Svelte over React ?

One should chose Svelte over React when you care deeply about performance and bundle sizes. Svelte focuses a lot on these sort of optimizations compared to any other framework in the market.

When does performance matter ?

Performance matters when you are building applications which are going to be extremely complex with lots of components. It matters for SEO and it matters if your users are expected to use outdated cheaper hardware.

Svelte would be a good choice in this case. For example building applications for Schools where bandwidth might be slow and device might be old.

When does React or Angular not work ?

Imagine you are building an enterprise product which will have like 30 different widgets on one page. Such pages get bloated very soon and React, Angular etc. need special attention to optimizations. But Svelte does these optimizations by default.

Conclusion

Svelte is a performance focused front end framework.

Top comments (0)