StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Follow on

© 2025 StackShare. All rights reserved.

Product

  • Stacks
  • Tools
  • Feed

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  1. Stackups
  2. Business Tools
  3. UI Components
  4. Javascript UI Libraries
  5. Marko vs Svelte

Marko vs Svelte

OverviewDecisionsComparisonAlternatives

Overview

Svelte
Svelte
Stacks1.7K
Followers1.6K
Votes502
GitHub Stars84.6K
Forks4.7K
Marko
Marko
Stacks29
Followers49
Votes40
GitHub Stars13.9K
Forks656

Marko vs Svelte: What are the differences?

Introduction

In this comparison, we will highlight the key differences between Marko and Svelte, two popular front-end development frameworks.

  1. Template Syntax: Marko uses an HTML-like syntax with custom tags for dynamic components, while Svelte uses a unique

  2. Runtime Performance: Marko focuses on server-side rendering and virtual DOM diffing, whereas Svelte compiles components during build time, resulting in highly optimized and efficient runtime performance.

  3. Reactivity: Svelte utilizes reactive declarations to automatically update the DOM when data changes, offering a seamless reactivity experience, while Marko requires explicit re-rendering of components to reflect state changes.

  4. Bundle Size: Svelte performs tree-shaking during compilation, eliminating unused code and generating smaller bundle sizes compared to Marko, which may include unnecessary code in the final build.

  5. Component Composition: Svelte encourages a modular and component-based approach through reusable components and intuitive props and events handling, while Marko emphasizes scalability and performance through efficient server-side rendering of components.

  6. Tooling and Ecosystem: Svelte has a comprehensive set of tools, including a compiler, dev server, and routing capabilities, integrated into a single framework, while Marko relies on external libraries and plugins for additional functionalities, leading to a more fragmented ecosystem.

In Summary, Marko and Svelte differ in their template syntax, performance optimizations, reactivity handling, bundle sizes, component composition approaches, and tooling and ecosystem support.

Share your Stack

Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.

View Docs
CLI (Node.js)
or
Manual

Advice on Svelte, Marko

Máté
Máté

Senior developer at Self-employed

May 28, 2020

Decided

Svelte is everything a developer could ever want for flexible, scalable frontend development. I feel like React has reached a maturity level where there needs to be new syntactic sugar added (I'm looking at you, hooks!). I love how Svelte sets out to rebuild a new language to write interfaces in from the ground up.

311k views311k
Comments
Raj
Raj

Oct 10, 2020

Review

It purely depends on your app needs. Does it need to be scalable, do you have lots of features, OR it is a simple project with very simple needs - many of those parameters clarify which technologies will fit.

If you are looking for a quick solution, that reduces lot of development time, take a look at postgraphile (https://www.graphile.org/postgraphile/). You have to just define the schema and you get the entire graph-ql apis built for you and you can just focus on your frontend.

On frontend, React is good, but also need to remember that it is popular because it introduced one way data writes and in-built virtual dom + diffing to determine which dom to modify. Though personally I liked it, am recently more inclined to Svelte because its lightweightedness and absence of virtual dom and its simplicity compared to the huge ecosystem that React has surrounded itself with.

In all situations, frameworks keep changing over time. What is best today is not considered even good few years from now. What is important is to have the logic in a separate, clean manner void of too many framework related dependencies - that way you can switch one framework with another very easily.

3.76k views3.76k
Comments
Alex
Alex

Full-stack software engineer

Apr 25, 2020

Decided

Svelte 3 is exacly what I'm looking for that Vue is not made for.

It has a iterable dom just like angular but very low overhead.

This is going to be used with the application.

for old/ lite devices . ie.

  • android tv,
  • micro linux,
  • possibly text based web browser for ascci and/or linux framebuffer
  • android go devices
  • android One devices
125k views125k
Comments

Detailed Comparison

Svelte
Svelte
Marko
Marko

If you've ever built a JavaScript application, the chances are you've encountered – or at least heard of – frameworks like React, Angular, Vue and Ractive. Like Svelte, these tools all share a goal of making it easy to build slick interactive user interfaces. Rather than interpreting your application code at run time, your app is converted into ideal JavaScript at build time. That means you don't pay the performance cost of the framework's abstractions, or incur a penalty when your app first loads.

Marko is a really fast and lightweight HTML-based templating engine that compiles templates to readable Node.js-compatible JavaScript modules, and it works on the server and in the browser. It supports streaming, async rendering and custom tags.

Write less code; No virtual DOM; Truly reactive
Extremely fast; Streaming and async rendering; Progressive HTML rendering; Custom tags; Compiles to readable CommonJS modules; Server-side and client-side rendering; Use Marko with any web framework, including: Express, Koa, Hapi; Syntax highlighting in popular editors and IDEs
Statistics
GitHub Stars
84.6K
GitHub Stars
13.9K
GitHub Forks
4.7K
GitHub Forks
656
Stacks
1.7K
Stacks
29
Followers
1.6K
Followers
49
Votes
502
Votes
40
Pros & Cons
Pros
  • 59
    Performance
  • 41
    Reactivity
  • 36
    Components
  • 35
    Simplicity
  • 34
    Javascript compiler (do that browsers don't have to)
Cons
  • 3
    Event Listener Overload
  • 2
    Little to no libraries
  • 2
    Hard to learn
  • 2
    Learning Curve
  • 2
    Complex
Pros
  • 6
    Simplicity
  • 5
    Speed
  • 5
    Better than React, Vue, etc
  • 5
    No JSX
  • 4
    Performance
Cons
  • 1
    Extensibility
  • 1
    Unit test
  • 1
    Mobile native

What are some alternatives to Svelte, Marko?

jQuery

jQuery

jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML.

AngularJS

AngularJS

AngularJS lets you write client-side web applications as if you had a smarter browser. It lets you use good old HTML (or HAML, Jade and friends!) as your template language and lets you extend HTML’s syntax to express your application’s components clearly and succinctly. It automatically synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data binding.

React

React

Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.

Vue.js

Vue.js

It is a library for building interactive web interfaces. It provides data-reactive components with a simple and flexible API.

jQuery UI

jQuery UI

Whether you're building highly interactive web applications or you just need to add a date picker to a form control, jQuery UI is the perfect choice.

Flux

Flux

Flux is the application architecture that Facebook uses for building client-side web applications. It complements React's composable view components by utilizing a unidirectional data flow. It's more of a pattern rather than a formal framework, and you can start using Flux immediately without a lot of new code.

Famo.us

Famo.us

Famo.us is a free and open source JavaScript platform for building mobile apps and desktop experiences. What makes Famo.us unique is its JavaScript rendering engine and 3D physics engine that gives developers the power and tools to build native quality apps and animations using pure JavaScript.

Riot

Riot

Riot brings custom tags to all browsers. Think React + Polymer but with enjoyable syntax and a small learning curve.

Kendo UI

Kendo UI

Fast, light, complete: 70+ jQuery-based UI widgets in one powerful toolset. AngularJS integration, Bootstrap support, mobile controls, offline data solution.

Preact

Preact

Preact is an attempt to recreate the core value proposition of React (or similar libraries like Mithril) using as little code as possible, with first-class support for ES2015. Currently the library is around 3kb (minified & gzipped).

Related Comparisons

Bootstrap
Materialize

Bootstrap vs Materialize

Laravel
Django

Django vs Laravel vs Node.js

Bootstrap
Foundation

Bootstrap vs Foundation vs Material UI

Node.js
Spring Boot

Node.js vs Spring-Boot

Liquibase
Flyway

Flyway vs Liquibase