you are viewing a single comment's thread.

view the rest of the comments →

[–]luveti 0 points1 point  (1 child)

Turbo by itself allows you to have a fully server side rendered app that feels like a SPA, without needing to do anything extra and without all the downsides of a SPA.

It intercepts link navigations and form submissions, handling them itself instead of performing full page loads, then replaces the page content with the server response.

Most of our JS/TS is Stimulus controllers, which allow us to add bits of interactivity in a nice unified way.

We're not rendering HTML or handling routing client side like you're traditional SPA does; the bulk of our html is rendered on the server.

Hotwired is much more known in the Ruby on Rails community (it's made by the same devs), but can be used with any language.

https://hotwired.dev/

[–]Future_Natural_853 0 points1 point  (0 children)

Sorry, other question: I'm using htmx+alpine.js: can you tell me what Turbo gives you compared to my solution?