What's the difference between Hotwire and LiveView, is one better able to emulate SPA-like behavior than the other?

This page summarizes the projects mentioned and recommended in the original post on /r/rails

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • inertia

    Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.

    Why not check out Inertia and give it a spin? Inertia can work with Rails or Phoenix. You also get to choose a frontend framework of your like (highly recommend Svelte though).

  • flyctl

    Command line tools for fly.io services

    One key difference is that LiveView is stateful and uses WebSocket connections, whereas Turbo Drive/Frame (Hotwire) is stateless and uses HTTP. Practically this means that if you have users spread all over the world, LiveView might cause extra latency unless you have edge (regional) servers, e.g. deployed through https://fly.io.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts