It's hilarious that web servers rendering HTML and sending it to the browser over a TCP connection is now "cool new tech".
This isn’t new at all. This is version 7 of Turbolinks that has been renamed to Turbo and has some added versions. It has been what the Ruby on Rails and it’s creator have promoted for years and years. The new thing about it are the name and associating it with Stimulus and some features, not the general concept.
Hotwire: HTML over the Wire
121–130 of 573 posts
Re: Hotwire: HTML over the Wire
#122Earlier quoted context omitted.
My thought exactly, though I fully support that. I often rant about how the modern web is billions of layers of duck tape over duck tape and it has become an unmanageable mess of libraries, frameworks, resources, all while javascript remains the most outrageous and absurd language ever created. I'm by no means a fan of rails or ruby for that matter but I think things like these are a considerably better alternative t…
Javascript as a language is actually pretty decent these days, your criticism probably applies more to certain parts of the ecosystem.
Re: Hotwire: HTML over the Wire
#123I like Hacker News in part because the tech is so boring. Server-side rendered, static HTML with a minimal amount of JS[0].
Re: Hotwire: HTML over the Wire
#124Earlier quoted context omitted.
My thought exactly, though I fully support that. I often rant about how the modern web is billions of layers of duck tape over duck tape and it has become an unmanageable mess of libraries, frameworks, resources, all while javascript remains the most outrageous and absurd language ever created. I'm by no means a fan of rails or ruby for that matter but I think things like these are a considerably better alternative t…
Just wanted to point out that it is called duct tape, just to avoid misunderstandings since i had a similiar spelling error as a non-native speaker :)
So call it either one and people will know what you're talking about.
Re: Hotwire: HTML over the Wire
#125Re: Hotwire: HTML over the Wire
#126It sounds a lot like Laravel Livewire[1] Also a lot like React Server Components that we saw on HN yesterday[2] It seems like this is the next wave of web apps. Hopefully once the hype settles, we'll be able to decide which approach is best for which project. [1] https://laravel-livewire.com/ [2] https://news.ycombinator.com/item?id=25497065
Livewire, of course, having been heavily inspired by Phoenix LiveView https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.html
Re: Hotwire: HTML over the Wire
#127Earlier quoted context omitted.
I found this little thread on Twitter interesting, complaining Hey (powered by hotwire) is too slow https://twitter.com/youyuxi/status/1337851036015480843
The inventor of one of the most successful js frameworks might be a tad biased when it comes to the whole „as little JavaScript as possible“ thing.
which is a fair complaint, I would say.
Re: Hotwire: HTML over the Wire
#128Earlier quoted context omitted.
My thought exactly, though I fully support that. I often rant about how the modern web is billions of layers of duck tape over duck tape and it has become an unmanageable mess of libraries, frameworks, resources, all while javascript remains the most outrageous and absurd language ever created. I'm by no means a fan of rails or ruby for that matter but I think things like these are a considerably better alternative t…
Just wanted to point out that it is called duct tape, just to avoid misunderstandings since i had a similiar spelling error as a non-native speaker :)
And for actual ducts you'll want to use foil-tape because temperature changes wreck the adhesion of duct-tape, then the moisture leaks into the walls/ceiling which is $$$$ bad.
Re: Hotwire: HTML over the Wire
#129Gentlemen, we have come full circle.
I thought this had to be satire when I opened the page. Now I'm still not sure.
I am still wondering if there is any benchmark presenting some objective facts
Re: Hotwire: HTML over the Wire
#130Earlier quoted context omitted.
And here's some additional followup. Minor speculation that maybe his location is what caused slowdown. https://twitter.com/swyx/status/1292825527116369922
That's one of the reasons SPA aren't going anywhere: trying to handle all the user microinteractions on the server is great when you leave next to it, but it falls apart when your users are spread across the world, especially if it's not western-ish world with fast internet connections.