hotwire-rails VS Svelte

Compare hotwire-rails vs Svelte and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
hotwire-rails Svelte
98 632
960 76,402
- 1.1%
3.2 9.9
over 2 years ago 3 days ago
Ruby JavaScript
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.

hotwire-rails

Posts with mentions or reviews of hotwire-rails. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-08.
  • It's not Ruby that's slow, it's your database
    7 projects | news.ycombinator.com | 8 Nov 2022
  • Howire Not Working after deploying to Heroku
    1 project | /r/rails | 3 Jan 2022
  • What's New in Rails 7
    2 projects | dev.to | 22 Dec 2021
    Applications generated with Rails 7 will get Turbo and Stimulus (from Hotwire) by default, instead of Turbolinks and UJS. Hotwire is a new approach that delivers fast updates to the DOM by sending HTML over the wire.
  • Ask HN: What tech stack would you use to build a new web app today?
    6 projects | news.ycombinator.com | 20 Dec 2021
    For Ajax-y stuff, I am really excited by the new crop of "HTML-as-a-Service" or "HTML-over-the-wire."

    https://htmx.org/

    https://hotwired.dev/

  • Ask HN: Do we need JavaScript web frameworks?
    3 projects | news.ycombinator.com | 17 Dec 2021
  • anyone have full tutorial how to upgrade from rails 6.1 to rails 7 ?
    1 project | /r/rails | 16 Dec 2021
    For all the turbo/stimulus/hotwire mix, you want to add a new feature just for the sake of adding it? or do you have a use case that fits the feature? if you have then you probably already have an implementation with a different technology (stimulus reflex? some custom websockets or ajax implementation? something with anycable?) and you have to check how to migrate from that technology to hotwire. If you just want to use the feature with no real need for it to practice then just pick any tutorial from the internet (like the intro in the official website https://hotwired.dev).
  • Ask HN: What are you favorite goto frameworks when writing Web Aplications
    6 projects | news.ycombinator.com | 15 Dec 2021
    I was recently interested in similar topic. Here are 3 similar solutions I found:

    * https://htmx.org/

    * https://unpoly.com/

    * https://hotwired.dev/

    My personal preference is Unpoly (the idea of "layers" is awesome). But the best explanation of concept as a whole (HATEOAS, keeping app state on server using partial page updates, etc) is at HTMX homepage, and in these essays:

    * https://htmx.org/essays/hateoas/

    * https://htmx.org/essays/locality-of-behaviour/

  • Hotwire isn't only for Rails
    3 projects | dev.to | 14 Dec 2021
    At the end of 2020 the Basecamp team released a collection of Javascript libraries called Hotwire. Modern web stacks have popularized javascript-rendered front ends and JSON transmissions. Hotwire's primary motivation is to reduce the Javascript footprint and allow application front ends to be created in primarily HTML. It pairs very nicely with the Ruby on Rails ideology and is often demonstrated in that context. I aim to write a series on how Hotwire can be used in any application to simplify development and reduce the need for heavy Javascript downloads. Hotwire currently consists of two javascript libraries: Turbo and Stimulus. The first part of this series introduces Turbo.
  • How do you handle views?
    4 projects | /r/PHP | 4 Dec 2021
    I've been doing that a while until I just got sock of the JS spagetti and often duplicated code and went full on Angular CSR and never looked back. That being said, I've been seeing a lot recently about Laravel's Livewire and Symfony and Ruby on Rail's integration with Hotwire (stimulus+turbo).
  • Why learn Rails as a frontender?
    1 project | /r/rails | 28 Nov 2021

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 2024-04-21.
  • How to optimise React Apps?
    5 projects | dev.to | 21 Apr 2024
    React has introduced measures like batching state updates, background concurrent rendering and memoization to tackle this. My opinion is that the best way to solve the problem is by improving their reactivity model. The app needs to be able to track the code that should be re-run on updating a given state variable and specifically update the UI corresponding to this update. Tools like solid.js and svelte work in this manner. It also eliminates the need for a virtual DOM and diffing.
  • Episode 24/13: Native Signals, Details on Angular/Wiz, Alan Agius on the Angular CLI
    11 projects | dev.to | 5 Apr 2024
    Similarly to Promises/A+, this effort focuses on aligning the JavaScript ecosystem. If this alignment is successful, then a standard could emerge, based on that experience. Several framework authors are collaborating here on a common model which could back their reactivity core. The current draft is based on design input from the authors/maintainers of Angular, Bubble, Ember, FAST, MobX, Preact, Qwik, RxJS, Solid, Starbeam, Svelte, Vue, Wiz, and moreā€¦
  • Rich Harris: Svelte parses HTML all wrong
    1 project | news.ycombinator.com | 5 Apr 2024
  • Mario meets Pareto: multi-objective optimization of Mario Kart builds
    2 projects | news.ycombinator.com | 4 Apr 2024
  • Svelte parses HTML all wrong
    1 project | news.ycombinator.com | 4 Apr 2024
    1 project | news.ycombinator.com | 3 Apr 2024
  • Svelte for Beginners: Easy Guide
    2 projects | dev.to | 2 Apr 2024
    Svelte is a powerful web framework that offers a fresh approach to building web applications. Its simplicity, reactivity model, and built-in features make it an excellent choice for developers looking to create efficient and maintainable applications. By following this guide, you should now have a good understanding of how to get started with Svelte and build your first components, routes, and transitions. You can read more about svelte on the official Svelte website.
  • Trying to use dotnet watch with Svelte
    2 projects | dev.to | 17 Mar 2024
    Use .NET features (especially dotnet watch) as a setup for a client-side Svelte application, starting from a simple C# console app.
  • Why I keep an eye on the Vue ecosystem and you should too
    9 projects | dev.to | 6 Mar 2024
    Volar originally was Vue3's language support tool for VScode (I don't know about other editors). By today, volar has become a language indipendent framework to create language tools. It might still be a bit early for the dev with skill issues like me to use it and build some tools, but astro and svelte already use Volar to create their language tools.
  • Svelte Tenets by Rich Harris
    1 project | news.ycombinator.com | 10 Feb 2024

What are some alternatives?

When comparing hotwire-rails and Svelte you can also consider the following projects:

htmx - </> htmx - high power tools for HTML

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

SvelteKit - web development, streamlined

lit - Lit is a simple library for building fast, lightweight web components.

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

phoenix_live_view - Rich, real-time user experiences with server-rendered HTML

qwik - Instant-loading web apps, without effort

inertia-laravel - The Laravel adapter for Inertia.js.

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

stimulus_reflex - Build reactive applications with the Rails tooling you already know and love.

Next.js - The React Framework