Hacker News new | ask | show | jobs
by propelol 1968 days ago
The Laravel (PHP) community is using Livewire, which is like Hotwire. Phoenix (Elixir) also have something called LiveView.
2 comments

There are some pretty big key differences though. Livewire is pure ajax (at least for now, may change in the future, a rewrite is in the works), Hotwire is mostly websockets. Livewire does DOM diffing in the frontend, Hotwire does it server side (sorta? didn't dig a ton but that's my understanding). Performance characteristics are pretty wildly different depending on the usecase.
With the advent of http3 won't normal ajax requests outperform websockets?
The key test for me is whether a Rails/React site makes the leap. Perhaps the tech is just too new and therefore too risky