Svelte VS Angular

Compare Svelte vs Angular and see what are their differences.

Our great sponsors
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • Scout APM - A developer's best friend. Try free for 14-days
  • SaaSHub - Software Alternatives and Reviews
Svelte Angular
196 192
53,386 78,026
2.7% 0.9%
9.6 10.0
about 14 hours ago 1 day ago
TypeScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Svelte

Posts with mentions or reviews of Svelte. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-30.
  • Meet our new pei.
    1 project | reddit.com/r/sharpei | 4 Dec 2021
    Her name is Svelte (slender and elegant). But the name was inspired from a software framework called Svelte
  • Svelte's lifecycle methods can be used anywhere
    3 projects | dev.to | 30 Nov 2021
    I haven't quite wrapped my mind around it, but you can even use afterUpdate in Svelte to replicate React's useEffect hook. See this example from Rich Harris, which I found in an interesting GitHub issue discussing the edges of Svelte's reactivity.
  • Top 6 Frontend Frameworks in 2022 for Web Development
    2 projects | dev.to | 29 Nov 2021
    Svelte
  • How to update values in database shown in html table?
    3 projects | reddit.com/r/cs50 | 24 Nov 2021
    This is a bit complex, and you might want to use a UI framework like React, Vue, or Svelte.
  • I built svelte-link-preview
    2 projects | reddit.com/r/sveltejs | 23 Nov 2021
    When linking https://svelte.dev/ the description is set to null which is probably due to the uppercase letter in the meta tag? Is this something the proxy could/should take into account so the description is read nevertheless?
  • The Sacred Steps to Achieving Good Documentation
    5 projects | dev.to | 23 Nov 2021
    Of course, the correct tool, as usual, depends on the requirements of your project. For an API, Apiary might be your best choice, if you want a more generalized documentation you Read the Docs might give you a quick and free way to have your documentation up and running, however if you really want a lot more control over styling and such, docussaurus can really help. There is also a last option which is quite rare though: just make a static website from the ground up. You can use React, Svelte, or really anything you want to build a documentation site. It's a lot more work than any of the previous options, but if you truly believe you need to control every single aspect  of your documentation it is still a possibility.
  • Adding React to an Optimizely UI - Part 2
    7 projects | dev.to | 19 Nov 2021
    But the big name players are still React, Angular and Vue, in my opinion (and I fully confess there was a lot of my opinion in the decision phase here!). Other noteworthy candidates were Next.JS and Svelte.
  • Dev in Dev: Issue 1 Nov 2021
    3 projects | dev.to | 18 Nov 2021
    AJAX and Single Page Apps ushered in a new age of web experiences, however it is not without it's flaws. Transitional Apps is a new paradigm of web apps which proposes a new direction. Rich Harris of Svelte introduces this concept at Jam Stack Conf 2021.
  • Testing Svelte components with Jest and Vite
    8 projects | dev.to | 18 Nov 2021
    Svelte hasn't anointed a set of testing tools or does not advocate for a particular testing strategy. It gives some basic advice. More established frameworks have recommendations and integrations specific to their CLI tooling - React recommends using Jest and React Testing Library, and Vue recommends using Mocha or Jest with Vue Testing Library. In theory, you can use whatever JavaScript testing library you want for testing, because in the end you will be testing JavaScript code, regardless of whether it is transpiled or not. However, it can prove to be tricky to integrate different tools into a frontend toolchain for your "dev stack".
  • Memoirs of a lone JavaScript developer PART 2 : Svelte. An awful implementation of an old idea.
    6 projects | reddit.com/r/u_liaguris | 17 Nov 2021

Angular

Posts with mentions or reviews of Angular. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-03.
  • How to fix the ReferenceError: global is not defined error in SvelteKit/Vite
    6 projects | dev.to | 3 Dec 2021
    I spent hours trying to figure this out and it was really difficult to find the exact information on the web since this error message is very similar to an Angular issue. However, the Angular solution is useless for SvelteKit so, I thought I'd put this post together.
  • Best Frontend Web Frameworks in 2021
    6 projects | dev.to | 1 Dec 2021
    Angular is a modern TypeScript-based, open-source framework and one of the top-rated software development tools. Angular features Directives allow developers to program special behaviors of the DOM, making it possible to create rich and dynamic HTML content. Angular has a Hierarchical dependency injection function, which makes code components highly testable, reusable, and easier to control: it helps to define code dependencies as external elements decoupling components from their dependencies.
  • The Best Angular Tutorials For Beginners 2022👨‍💻
    2 projects | dev.to | 1 Dec 2021
    GitHub
  • Top 6 Frontend Frameworks in 2022 for Web Development
    2 projects | dev.to | 29 Nov 2021
    Angular
  • Lessons Learned of Connect Tech 2021
    3 projects | dev.to | 28 Nov 2021
    Disclaimer: This post comes from my own experience after evaluating the most important aspects of the conference, there were remarkable talks about React, Angular, Vue and others, this includes no code at all, I'd rather mention some other aspects, more soft-skills-driven instead, though any contribution is more than welcome in the threads below!
  • Lazy-load a component in Angular without routing
    4 projects | dev.to | 28 Nov 2021
    There is a proposal to move many of these configurations to the component itself, making the use of NgModule optional. A very welcoming change that will simplify the mental model which programmers have on each angular application. But until that time, we need to create a new module for our LazyFormComponent, which defines its dependencies.
  • Introducing Giraffe.Htmx
    7 projects | dev.to | 26 Nov 2021
    htmx is a library that brings interactivity to HTML through the use of attributes and HTTP headers. Whereas projects like Vue, Angular, and React prescribe completely different programming paradigms than traditional web development, htmx provides partial-page-swapping and progressive enhancement within straight HTML. This brings a lot of the benefits of the SPA architecture to vanilla HTML, without requiring a completely different paradigm than the one we have used on the web for 30 years. In practice, this greatly reduces the complexity required to produce an interactive web application.
  • Adding form validation to an Angular application
    5 projects | dev.to | 22 Nov 2021
    Angular is a development platform for building WEB, mobile and desktop applications using HTML, CSS and TypeScript (JavaScript). Currently, Angular is at version 13 and Google is the main maintainer of the project.
  • what is partial hydration and why is everyone talking about it?
    8 projects | dev.to | 22 Nov 2021
    Early attempts at this were made by Angular and Ember. These attempts appear to have struggled to gain traction. The relevant Angular issue is currently still open 5 years later and Brian Cardarella argued in Should you use Ember FastBoot or not? (August 1, 2017) that the costs were too high for DockYard to implement FastBoot.
  • Adding the map Leaflet component to an Angular application
    2 projects | reddit.com/r/u_rodrigokamada | 22 Nov 2021
    Application example built with Angular 13 and adding the map component using the leaflet library.

What are some alternatives?

When comparing Svelte and Angular you can also consider the following projects:

Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.

lit-element - LEGACY REPO. This repository is for maintenance of the legacy LitElement library. The LitElement base class is now part of the Lit library, which is developed in the lit monorepo.

Next.js - The React Framework

solid - A declarative, efficient, and flexible JavaScript library for building user interfaces. [Moved to: https://github.com/solidui/solid]

awesome-blazor - Resources for Blazor, a .NET web framework using C#/Razor and HTML that runs in the browser with WebAssembly.

SvelteKit - The fastest way to build Svelte apps

Aurelia 1 - The Aurelia 1 framework entry point, bringing together all the required sub-modules of Aurelia.

React - A declarative, efficient, and flexible JavaScript library for building user interfaces.

Gatsby - Build blazing fast, modern apps and websites with React

stencil - A toolchain for building scalable, enterprise-ready component systems on top of TypeScript and Web Component standards. Stencil components can be distributed natively to React, Angular, Vue, and traditional web developers from a single, framework-agnostic codebase.

Polymer - Our original Web Component library.