Alternatives to Svelte logo

Alternatives to Svelte

React, Elm, Imba, Stencil, and Preact are the most popular alternatives and competitors to Svelte.
555
657
+ 1
356

What is Svelte and what are its top alternatives?

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.
Svelte is a tool in the Javascript UI Libraries category of a tech stack.
Svelte is an open source tool with 47.5K GitHub stars and 2.2K GitHub forks. Here’s a link to Svelte's open source repository on GitHub

Top Alternatives to Svelte

  • 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. ...

  • Elm

    Elm

    Writing HTML apps is super easy with elm-lang/html. Not only does it render extremely fast, it also quietly guides you towards well-architected code. ...

  • Imba

    Imba

    Imba is a new programming language for the web that compiles to performant and readable JavaScript. It has language level support for defining, extending, subclassing, instantiating and rendering dom nodes. ...

  • Stencil

    Stencil

    Stencil combines some of the best features from traditional frameworks, but outputs 100% standards-compliant Custom Elements, part of the Web Component spec. ...

  • 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). ...

  • Sapper

    Sapper

    Sapper focuses on easy of use. It is alpha now and only compiled with rust nightly. ...

  • 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. ...

Svelte alternatives & related posts

React logo

React

98.2K
77.3K
3.8K
A JavaScript library for building user interfaces
98.2K
77.3K
+ 1
3.8K
PROS OF REACT
  • 751
    Components
  • 651
    Virtual dom
  • 558
    Performance
  • 484
    Simplicity
  • 436
    Composable
  • 174
    Data flow
  • 159
    Declarative
  • 123
    Isn't an mvc framework
  • 113
    Reactive updates
  • 110
    Explicit app state
  • 31
    JSX
  • 23
    Learn once, write everywhere
  • 18
    Uni-directional data flow
  • 16
    Easy to Use
  • 14
    Works great with Flux Architecture
  • 10
    Great perfomance
  • 8
    Built by Facebook
  • 6
    Javascript
  • 5
    TypeScript support
  • 5
    Speed
  • 4
    Awesome
  • 4
    Easy to start
  • 4
    Feels like the 90s
  • 4
    Scalable
  • 3
    Functional
  • 3
    Server side views
  • 3
    Hooks
  • 3
    Fancy third party tools
  • 2
    Props
  • 2
    Simple
  • 2
    Has functional components
  • 2
    Great migration pathway for older systems
  • 2
    SSR
  • 2
    Fast evolving
  • 2
    Simple, easy to reason about and makes you productive
  • 2
    Very gentle learning curve
  • 2
    Excellent Documentation
  • 2
    Rich ecosystem
  • 2
    Super easy
  • 2
    Has arrow functions
  • 2
    Strong Community
  • 2
    Closer to standard JavaScript and HTML than others
  • 2
    Scales super well
  • 2
    Just the View of MVC
  • 2
    Server Side Rendering
  • 2
    Cross-platform
  • 1
    Sharable
  • 1
    Start simple
  • 1
    Obama
  • 1
    Every decision architecture wise makes sense
  • 1
    Permissively-licensed
  • 1
    Beautiful and Neat Component Management
  • 1
    Fragments
  • 1
    Sdfsdfsdf
  • 1
    Allows creating single page applications
  • 1
    Split your UI into components with one true state
CONS OF REACT
  • 32
    Requires discipline to keep architecture organized
  • 20
    No predefined way to structure your app
  • 19
    Need to be familiar with lots of third party packages
  • 6
    JSX
  • 6
    Not enterprise friendly
  • 1
    One-way binding only
  • 1
    State consistency with backend neglected

related React posts

Vaibhav Taunk
Team Lead at Technovert · | 31 upvotes · 1.5M views

I am starting to become a full-stack developer, by choosing and learning .NET Core for API Development, Angular CLI / React for UI Development, MongoDB for database, as it a NoSQL DB and Flutter / React Native for Mobile App Development. Using Postman, Markdown and Visual Studio Code for development.

See more
Johnny Bell
Software Engineer at Weedmaps · | 26 upvotes · 377.6K views
Shared insights
on
Vue.js
React

I've used both Vue.js and React and I would stick with React. I know that Vue.js seems easier to write and its much faster to pick up however as you mentioned above React has way more ready made components you can just plugin, and the community for React is very big.

It might be a bit more of a steep learning curve for your friend to learn React over Vue.js but I think in the long run its the better option.

See more
Elm logo

Elm

567
622
284
A type inferred, functional reactive language that compiles to HTML, CSS, and JavaScript
567
622
+ 1
284
PROS OF ELM
  • 42
    Code stays clean
  • 40
    Great type system
  • 38
    No Runtime Exceptions
  • 31
    Fun
  • 26
    Easy to understand
  • 20
    Correctness
  • 20
    Type safety
  • 14
    JS fatigue
  • 10
    Declarative
  • 10
    Ecosystem agrees on one Application Architecture
  • 8
    Friendly compiler messages
  • 6
    Welcoming community
  • 6
    Fast rendering
  • 5
    If it compiles, it runs
  • 4
    Stable ecosystem
  • 3
    'Batteries included'
  • 1
    Package.elm-lang.org
CONS OF ELM
  • 2
    No typeclasses -> repitition (i.e. map has 130versions)
  • 2
    JS interoperability a bit more involved
  • 1
    Backwards compability breaks between releases
  • 1
    More code is required
  • 1
    Main developer enforces "the correct" style hard
  • 1
    JS interop can not be async
  • 1
    No communication with users

related Elm posts

Shared insights
on
React
Redux
Elm

React is awesome, but is just a view library, when we need to manage state, there is Redux.js. The ecosystem of redux is big, complex and hard to integrate. That's why we choose to create hydux. Hydux is simple, the main idea is from Elm, a pure functional vdom-based framework for front-end. We seperate the whole app with state, actions and views. Which means not only our views are a tree, but also our state and actions. Reuse state and actions are just like reuse react components, no need to consider dependences.

See more
Imba logo

Imba

13
29
0
Take a whole lot of Ruby, a pinch of Python and some React, get Imba
13
29
+ 1
0
PROS OF IMBA
    Be the first to leave a pro
    CONS OF IMBA
      Be the first to leave a con

      related Imba posts

      Stencil logo

      Stencil

      52
      64
      0
      A reusable web component generator
      52
      64
      + 1
      0
      PROS OF STENCIL
        Be the first to leave a pro
        CONS OF STENCIL
          Be the first to leave a con

          related Stencil posts

          Michael Solati
          Developer Advocate at Typeform · | 4 upvotes · 30K views
          Shared insights
          on
          Polymer
          Stencil
          at

          As a #Frontend developer I'm used to using tools like #BootstrapCDN or some APIs/Library like #GoogleMaps to create or have styled elements with cool functionality. But this requires me remembering Bootstrap classes, or trying to get Google Maps to work in #Angular. 😢

          And that's just framework agnostic solutions... If you look at framework specific libraries you end up dealing with the fact you are pigeon holed into using framework specific libraries!

          Libraries like Polymer or Stencil for #WebComponents are definitely the way to go!

          See more
          Preact logo

          Preact

          286
          210
          24
          Fast 3kb alternative to React with the same ES6 API
          286
          210
          + 1
          24
          PROS OF PREACT
          • 13
            Lightweight
          • 4
            Drop-in replacement for React
          • 3
            Props/state passed to render
          • 3
            Performance
          • 1
            ES6 class components
          CONS OF PREACT
            Be the first to leave a con

            related Preact posts

            Dmitry Mukhin

            Simple controls over complex technologies, as we put it, wouldn't be possible without neat UIs for our user areas including start page, dashboard, settings, and docs.

            Initially, there was Django. Back in 2011, considering our Python-centric approach, that was the best choice. Later, we realized we needed to iterate on our website more quickly. And this led us to detaching Django from our front end. That was when we decided to build an SPA.

            For building user interfaces, we're currently using React as it provided the fastest rendering back when we were building our toolkit. It’s worth mentioning Uploadcare is not a front-end-focused SPA: we aren’t running at high levels of complexity. If it were, we’d go with Ember.js.

            However, there's a chance we will shift to the faster Preact, with its motto of using as little code as possible, and because it makes more use of browser APIs. One of our future tasks for our front end is to configure our Webpack bundler to split up the code for different site sections. For styles, we use PostCSS along with its plugins such as cssnano which minifies all the code.

            All that allows us to provide a great user experience and quickly implement changes where they are needed with as little code as possible.

            See more
            Riderman De Sousa Barbosa
            Shared insights
            on
            Preact
            React
            at

            The first and most important premise is that should be fast.. really fast. This premise was basically because this is an PWA project, and the main goal of this project are be more efficient on restaurant.

            So I ended up choosing Preact instead React .

            This made the app (PWA) more faster, not only when navigating but improve TTI and data usage.

            See more
            Sapper logo

            Sapper

            34
            54
            0
            A lightweight web framework written in Rust
            34
            54
            + 1
            0
            PROS OF SAPPER
            • 0
              Es mejor
            • 0
              Less bundle Size
            CONS OF SAPPER
              Be the first to leave a con

              related Sapper posts

              jQuery logo

              jQuery

              161.7K
              44.2K
              6.5K
              The Write Less, Do More, JavaScript Library.
              161.7K
              44.2K
              + 1
              6.5K
              PROS OF JQUERY
              • 1.3K
                Cross-browser
              • 957
                Dom manipulation
              • 805
                Power
              • 660
                Open source
              • 610
                Plugins
              • 457
                Easy
              • 395
                Popular
              • 350
                Feature-rich
              • 281
                Html5
              • 227
                Light weight
              • 91
                Simple
              • 84
                Great community
              • 79
                CSS3 Compliant
              • 69
                Mobile friendly
              • 67
                Fast
              • 43
                Intuitive
              • 42
                Swiss Army knife for webdev
              • 35
                Huge Community
              • 10
                Easy to learn
              • 3
                Clean code
              • 2
                Just awesome
              • 2
                Powerful
              • 2
                Nice
              • 2
                Because of Ajax request :)
              • 1
                Easy Setup
              • 1
                Open Source, Simple, Easy Setup
              • 1
                It Just Works
              • 1
                Improves productivity
              • 1
                Industry acceptance
              • 1
                Allows great manipulation of HTML and CSS
              • 1
                Used everywhere
              • 1
                Widely Used
              • 0
                Javascript
              CONS OF JQUERY
              • 5
                Large size
              • 5
                Encourages DOM as primary data source
              • 4
                Sometimes inconsistent API
              • 2
                Live events is overly complex feature

              related jQuery posts

              Kir Shatrov
              Engineering Lead at Shopify · | 20 upvotes · 477K views

              The client-side stack of Shopify Admin has been a long journey. It started with HTML templates, jQuery and Prototype. We moved to Batman.js, our in-house Single-Page-Application framework (SPA), in 2013. Then, we re-evaluated our approach and moved back to statically rendered HTML and vanilla JavaScript. As the front-end ecosystem matured, we felt that it was time to rethink our approach again. Last year, we started working on moving Shopify Admin to React and TypeScript.

              Many things have changed since the days of jQuery and Batman. JavaScript execution is much faster. We can easily render our apps on the server to do less work on the client, and the resources and tooling for developers are substantially better with React than we ever had with Batman.

              #FrameworksFullStack #Languages

              See more
              Ganesa Vijayakumar
              Full Stack Coder | Module Lead · | 18 upvotes · 2.3M views

              I'm planning to create a web application and also a mobile application to provide a very good shopping experience to the end customers. Shortly, my application will be aggregate the product details from difference sources and giving a clear picture to the user that when and where to buy that product with best in Quality and cost.

              I have planned to develop this in many milestones for adding N number of features and I have picked my first part to complete the core part (aggregate the product details from different sources).

              As per my work experience and knowledge, I have chosen the followings stacks to this mission.

              UI: I would like to develop this application using React, React Router and React Native since I'm a little bit familiar on this and also most importantly these will help on developing both web and mobile apps. In addition, I'm gonna use the stacks JavaScript, jQuery, jQuery UI, jQuery Mobile, Bootstrap wherever required.

              Service: I have planned to use Java as the main business layer language as I have 7+ years of experience on this I believe I can do better work using Java than other languages. In addition, I'm thinking to use the stacks Node.js.

              Database and ORM: I'm gonna pick MySQL as DB and Hibernate as ORM since I have a piece of good knowledge and also work experience on this combination.

              Search Engine: I need to deal with a large amount of product data and it's in-detailed info to provide enough details to end user at the same time I need to focus on the performance area too. so I have decided to use Solr as a search engine for product search and suggestions. In addition, I'm thinking to replace Solr by Elasticsearch once explored/reviewed enough about Elasticsearch.

              Host: As of now, my plan to complete the application with decent features first and deploy it in a free hosting environment like Docker and Heroku and then once it is stable then I have planned to use the AWS products Amazon S3, EC2, Amazon RDS and Amazon Route 53. I'm not sure about Microsoft Azure that what is the specialty in it than Heroku and Amazon EC2 Container Service. Anyhow, I will do explore these once again and pick the best suite one for my requirement once I reached this level.

              Build and Repositories: I have decided to choose Apache Maven and Git as these are my favorites and also so popular on respectively build and repositories.

              Additional Utilities :) - I would like to choose Codacy for code review as their Startup plan will be very helpful to this application. I'm already experienced with Google CheckStyle and SonarQube even I'm looking something on Codacy.

              Happy Coding! Suggestions are welcome! :)

              Thanks, Ganesa

              See more
              AngularJS logo

              AngularJS

              41.9K
              29.6K
              5.3K
              Superheroic JavaScript MVW Framework
              41.9K
              29.6K
              + 1
              5.3K
              PROS OF ANGULARJS
              • 886
                Quick to develop
              • 587
                Great mvc
              • 571
                Powerful
              • 522
                Restful
              • 504
                Backed by google
              • 349
                Two-way data binding
              • 344
                Javascript
              • 328
                Open source
              • 306
                Dependency injection
              • 198
                Readable
              • 76
                Fast
              • 65
                Directives
              • 64
                Great community
              • 57
                Free
              • 39
                Extend html vocabulary
              • 30
                Components
              • 26
                Easy to test
              • 25
                Easy to learn
              • 24
                Easy to templates
              • 24
                Great documentation
              • 22
                Easy to start
              • 18
                Awesome
              • 18
                Light weight
              • 15
                Angular 2.0
              • 15
                Javascript mvw framework
              • 14
                Great extensions
              • 14
                Efficient
              • 11
                Easy to prototype with
              • 9
                High performance
              • 9
                Coffeescript
              • 8
                Mvc
              • 8
                Two-way binding
              • 8
                Lots of community modules
              • 7
                Easy to e2e
              • 7
                Clean and keeps code readable
              • 6
                One of the best frameworks
              • 6
                Easy for small applications
              • 5
                Works great with jquery
              • 5
                Fast development
              • 3
                Hierarchical Data Structure
              • 3
                The two-way Data Binding is awesome
              • 3
                Community
              • 3
                Typescript
              • 3
                Declarative programming
              • 3
                I do not touch DOM
              • 3
                Be a developer, not a plumber.
              • 3
                Dart
              • 2
                Fkin awesome
              • 2
                Scopes
              • 2
                The powerful of binding, routing and controlling routes
              • 2
                Opinionated in the right areas
              • 2
                Supports api , easy development
              • 2
                Common Place
              • 2
                Amazing community support
              • 2
                Great
              • 2
                Very very useful and fast framework for development
              • 2
                Readable code
              • 2
                Programming fun again
              • 2
                Linear learning curve
              • 1
                Bot Ionescu
              • 1
                Acoperișul 0757604335
              • 1
                Js
              • 1
                Google.com
              • 1
                Angular js
              • 1
                Httpș//Acoperișul 0757604335
              • 1
                Shvzjn
              CONS OF ANGULARJS
              • 10
                Complex
              • 3
                Dependency injection
              • 2
                Learning Curve
              • 2
                Event Listener Overload
              • 1
                Hard to learn

              related AngularJS posts

              Simon Reymann
              Senior Fullstack Developer at QUANTUSflow Software GmbH · | 24 upvotes · 1.7M views

              Our whole Node.js backend stack consists of the following tools:

              • Lerna as a tool for multi package and multi repository management
              • npm as package manager
              • NestJS as Node.js framework
              • TypeScript as programming language
              • ExpressJS as web server
              • Swagger UI for visualizing and interacting with the API’s resources
              • Postman as a tool for API development
              • TypeORM as object relational mapping layer
              • JSON Web Token for access token management

              The main reason we have chosen Node.js over PHP is related to the following artifacts:

              • Made for the web and widely in use: Node.js is a software platform for developing server-side network services. Well-known projects that rely on Node.js include the blogging software Ghost, the project management tool Trello and the operating system WebOS. Node.js requires the JavaScript runtime environment V8, which was specially developed by Google for the popular Chrome browser. This guarantees a very resource-saving architecture, which qualifies Node.js especially for the operation of a web server. Ryan Dahl, the developer of Node.js, released the first stable version on May 27, 2009. He developed Node.js out of dissatisfaction with the possibilities that JavaScript offered at the time. The basic functionality of Node.js has been mapped with JavaScript since the first version, which can be expanded with a large number of different modules. The current package managers (npm or Yarn) for Node.js know more than 1,000,000 of these modules.
              • Fast server-side solutions: Node.js adopts the JavaScript "event-loop" to create non-blocking I/O applications that conveniently serve simultaneous events. With the standard available asynchronous processing within JavaScript/TypeScript, highly scalable, server-side solutions can be realized. The efficient use of the CPU and the RAM is maximized and more simultaneous requests can be processed than with conventional multi-thread servers.
              • A language along the entire stack: Widely used frameworks such as React or AngularJS or Vue.js, which we prefer, are written in JavaScript/TypeScript. If Node.js is now used on the server side, you can use all the advantages of a uniform script language throughout the entire application development. The same language in the back- and frontend simplifies the maintenance of the application and also the coordination within the development team.
              • Flexibility: Node.js sets very few strict dependencies, rules and guidelines and thus grants a high degree of flexibility in application development. There are no strict conventions so that the appropriate architecture, design structures, modules and features can be freely selected for the development.
              See more
              Simon Reymann
              Senior Fullstack Developer at QUANTUSflow Software GmbH · | 19 upvotes · 571.4K views

              Our whole Vue.js frontend stack (incl. SSR) consists of the following tools:

              • Nuxt.js consisting of Vue CLI, Vue Router, vuex, Webpack and Sass (Bundler for HTML5, CSS 3), Babel (Transpiler for JavaScript),
              • Vue Styleguidist as our style guide and pool of developed Vue.js components
              • Vuetify as Material Component Framework (for fast app development)
              • TypeScript as programming language
              • Apollo / GraphQL (incl. GraphiQL) for data access layer (https://apollo.vuejs.org/)
              • ESLint, TSLint and Prettier for coding style and code analyzes
              • Jest as testing framework
              • Google Fonts and Font Awesome for typography and icon toolkit
              • NativeScript-Vue for mobile development

              The main reason we have chosen Vue.js over React and AngularJS is related to the following artifacts:

              • Empowered HTML. Vue.js has many similar approaches with Angular. This helps to optimize HTML blocks handling with the use of different components.
              • Detailed documentation. Vue.js has very good documentation which can fasten learning curve for developers.
              • Adaptability. It provides a rapid switching period from other frameworks. It has similarities with Angular and React in terms of design and architecture.
              • Awesome integration. Vue.js can be used for both building single-page applications and more difficult web interfaces of apps. Smaller interactive parts can be easily integrated into the existing infrastructure with no negative effect on the entire system.
              • Large scaling. Vue.js can help to develop pretty large reusable templates.
              • Tiny size. Vue.js weights around 20KB keeping its speed and flexibility. It allows reaching much better performance in comparison to other frameworks.
              See more