News for hackers. Stuff that matters.
Re:Hotwire: HTML Over The Wire by one-punch on Sunday June 02, 2024 @12:52PM (#40555503)
Hotwire integrates with Ruby on Rails. (EDIT: The linked page shows how to integrate Hotwire with Ruby on Rails. See fxn's comment https://news.ycombinator.com/item?id=40555577)

I had the same question, then watched the video to get the answer.

Re:Hotwire: HTML Over The Wire by fxn on Sunday June 02, 2024 @01:00PM (#40555577)
No, Hotwire is framework agnostic it is web components and JavaScript, basically.

You can Google Hotwire with Django, or Laravel, or many others (https://hotwire.io/frameworks).

Re:Hotwire: HTML Over The Wire by one-punch on Sunday June 02, 2024 @01:07PM (#40555640)
Thanks for the information.

The linked page shows only integrating Hotwire with Ruby on Rails, giving me my original impression.

Re:Hotwire: HTML Over The Wire by fxn on Sunday June 02, 2024 @02:33PM (#40556273)
Some links do not have information yet, others do, for example https://hotwire.io/frameworks/laravel or https://hotwire.io/frameworks/django.
Re:Hotwire: HTML Over The Wire by nacs on Sunday June 02, 2024 @01:24PM (#40555763)
> framework agnostic

Framework agnostic but Ruby-only it seems.

Re:Hotwire: HTML Over The Wire by andrei_says_ on Sunday June 02, 2024 @02:33PM (#40556275)
Hotwire is in JS and is used by multiple back-end frameworks including Rails.

Rails has a lot of affordances for Hotwire and is the back end framework for which Hotwire was originally written.

Re:Hotwire: HTML Over The Wire by freen on Sunday June 02, 2024 @02:33PM (#40556269)
No. Turbo is js and HTML.

If your backend can send templates down the websocket, you can use Hotwire.

Re:Hotwire: HTML Over The Wire by fxn on Sunday June 02, 2024 @02:32PM (#40556266)
No.