DEV Community

Cover image for React, Vue and Svelte: Comparing the basics - Intro
Clément Creusat
Clément Creusat

Posted on • Edited on

4

React, Vue and Svelte: Comparing the basics - Intro

Hi!

Short story:

  • working as a Frontend developer with the current Stack: Angular 8+
  • personal project with Vue 3.2
  • changing my own website with Svelte.
  • previously shipped React Native apps to production.

All of this made me think about comparing the basics between React, Vue and Svelte or at least finding similarities between them.

Yes, I'm talking about Angular and the component part could be compared to other frameworks but because Angular is not just a "View" library, I decided not to bring it to the cheatsheet series.

I assume you have knowledge in HTML, CSS, JavaScript and any of these frameworks.

The new approach of Vue 3 with Composition API / SFC makes him really close to Svelte. And vice-versa.

Versions:

  • React 17.0.2
  • Vue 3.2.25
  • Svelte 3.44.0

Live examples are added to this article, made with Stackblitz. They are based on ViteJS and you have to npm run dev inside the terminal to see them running.

Enjoy this series!

SurveyJS custom survey software

JavaScript UI Libraries for Surveys and Forms

SurveyJS lets you build a JSON-based form management system that integrates with any backend, giving you full control over your data and no user limits. Includes support for custom question types, skip logic, integrated CCS editor, PDF export, real-time analytics & more.

Learn more

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more