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. Application & Data
  3. Frameworks
  4. State Management Library
  5. Redux.js vs Svelte

Redux.js vs Svelte

OverviewDecisionsComparisonAlternatives

Overview

Redux
Redux
Stacks32.0K
Followers23.6K
Votes674
Svelte
Svelte
Stacks1.7K
Followers1.6K
Votes502
GitHub Stars84.6K
Forks4.7K

Redux.js vs Svelte: What are the differences?

Introduction:

Redux.js and Svelte are two popular JavaScript frameworks used for developing web applications. While both frameworks have their own unique features and advantages, there are several key differences between them that developers should be aware of.

  1. State Management Approach: Redux.js is a state management library that follows a centralized approach, where the state of an application is stored in a single global store. Svelte, on the other hand, is a reactive framework that allows developers to declare state variables and automatically updates the DOM whenever the state changes.

  2. Bundle Size: Redux.js comes with a larger bundle size compared to Svelte. This is because Redux.js requires additional libraries and middleware to handle state management, resulting in a larger overall file size. Svelte, on the other hand, is a compiler-based framework that optimizes and compiles the code at build-time, resulting in smaller bundle sizes.

  3. Performance: Svelte offers better performance compared to Redux.js. Since Svelte compiles the code at build-time, it eliminates the need for runtime libraries and reduces the overhead associated with virtual DOM updates. This results in faster rendering and improved overall performance.

  4. Learning Curve: Redux.js has a steeper learning curve compared to Svelte. Redux.js requires developers to understand concepts like actions, reducers, and middleware, which can be initially overwhelming for beginners. Svelte, on the other hand, follows a more intuitive and straightforward approach, making it easier for developers to get started.

  5. Developer Experience: Redux.js provides a rich developer experience with powerful tools like Redux DevTools for debugging and time-traveling. These tools allow developers to inspect and manipulate the state of the application, making it easier to understand and debug complex state management. Svelte, although not as feature-rich as Redux.js in terms of developer tools, provides a simpler and more streamlined development experience.

  6. Integration with Existing Codebase: Redux.js is more suitable for integrating with existing codebases, especially if the application already has a significant amount of Redux-based code. Svelte, on the other hand, is a complete framework with its own syntax and compiler, making it more suitable for new projects or applications that don't heavily depend on Redux.js.

In summary, Redux.js and Svelte differ in terms of their state management approach, bundle size, performance, learning curve, developer experience, and integration with existing codebases. Choosing between the two depends on the specific requirements and constraints of the project.

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 Redux, Svelte

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.77k views3.77k
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

Redux
Redux
Svelte
Svelte

It helps you write applications that behave consistently, run in different environments (client, server, and native), and are easy to test. t provides a great experience, such as live code editing combined with a time traveling debugger.

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.

Predictable state; Easy testing; Works with other view layers besides React
Write less code; No virtual DOM; Truly reactive
Statistics
GitHub Stars
-
GitHub Stars
84.6K
GitHub Forks
-
GitHub Forks
4.7K
Stacks
32.0K
Stacks
1.7K
Followers
23.6K
Followers
1.6K
Votes
674
Votes
502
Pros & Cons
Pros
  • 191
    State is predictable
  • 150
    Plays well with React and others
  • 126
    State stored in a single object tree
  • 79
    Hot reloading out of the box
  • 74
    Allows for time travel
Cons
  • 13
    Lots of boilerplate
  • 6
    Verbose
  • 5
    Steep learning curve
  • 5
    Design
  • 4
    Steeper learning curve than RxJs
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
    Learning Curve
  • 2
    Hard to learn
  • 2
    Little to no libraries
  • 2
    Complex
Integrations
JavaScript
JavaScript
React
React
No integrations available

What are some alternatives to Redux, Svelte?

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.

MobX

MobX

MobX is a battle tested library that makes state management simple and scalable by transparently applying functional reactive programming (TFRP). React and MobX together are a powerful combination. React renders the application state by providing mechanisms to translate it into a tree of renderable components. MobX provides the mechanism to store and update the application state that React then uses.

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.

Marko

Marko

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.

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