News for hackers. Stuff that matters.
Re:Using Turbo Frames and Streams Without Rails by jadbox on Friday December 01, 2023 @03:27PM (#38491861)
I'm not familiar with Turbo Frames, but it kinda sounds like Htmx approach. Can someone help me understand the differences?
Re:Using Turbo Frames and Streams Without Rails by infecto on Friday December 01, 2023 @04:11PM (#38492463)
They are in the same wheelhouse. HTMX is more generalized, Turbo/Hotwire is more opinionated. HTMX can easily be run anywhere in any language. Turbo is easiest run in Rails/Ruby.
Re:Using Turbo Frames and Streams Without Rails by williamcotton on Friday December 01, 2023 @05:25PM (#38493389)
Re:Using Turbo Frames and Streams Without Rails by infecto on Saturday December 02, 2023 @10:07AM (#38499081)
And?
Re:Using Turbo Frames and Streams Without Rails by rossta on Friday December 01, 2023 @06:53PM (#38494234)
Similar goals, different philosophies and approaches.

A few differences: HTMX makes it possible to enhance any element with hypertext capabilities. I don’t believe it works with JavaScript disabled. Hotwire still relies on <a> and <form> to make HTTP requests as its focus is more geared towards progressive enhancement; the Hotwire portions of the app will still work with JS disabled.