Earlier quoted context omitted.
Javascript as a language is actually pretty decent these days, your criticism probably applies more to certain parts of the ecosystem.
No, I'm talking about js as a whole. Standard library is crap, inconsistent, even the most basic of naming conventions are not followed anywhere. The fact that the standard library jumps between camel case, pascal case, snake case and unicase at random is a perfect example. The list of absurdities is beyond ridiculous[1]. [1] https://github.com/denysdovhan/wtfjs
Hotwire: HTML over the Wire
131–140 of 573 posts
Re: Hotwire: HTML over the Wire
#132Earlier quoted context omitted.
Livewire, of course, having been heavily inspired by Phoenix LiveView https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.html
Tho, LiveWire is AJAX, while LiveView and Stimulus Reflex are Sockets. LW is a pleasure to work with for small pieces of interactivity.
Re: Hotwire: HTML over the Wire
#133Re: Hotwire: HTML over the Wire
#134Spoiler, it's just Ajax but it pushes the data through your templates before sending it to the client. We were doing this literally over a decade ago in the early days of XHR.
Less boilerplate. More reuse. Consolidation of app state to the server.
Feel free to post your code from a decade ago so that we can do a bake-off and compare implementations side-by-side.
Re: Hotwire: HTML over the Wire
#135Re: Hotwire: HTML over the Wire
#136Earlier quoted context omitted.
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.
he is complaining on Hey's lack of speed and interactivity, not complaining about the lack of js. which is a fair complaint, I would say.
> For a typically long running app like an email client, the obsession with shipping as little JavaScript as possible is actually detrimental to the end UX.
Re: Hotwire: HTML over the Wire
#137This is so exciting to see, especially for older folk like me. Almost 20 years ago, one of my professors told us before graduation that hot tech is mostly about the idea pendulum swinging back and forth. I immediately chalked it up to 65+ above white wise men snobbery. However, this is exactly that. We started with static pages, then came Ajax and Asp.net and the open source variants, then we went full SPA, now we ar…
Re: Hotwire: HTML over the Wire
#138This is so exciting to see, especially for older folk like me. Almost 20 years ago, one of my professors told us before graduation that hot tech is mostly about the idea pendulum swinging back and forth. I immediately chalked it up to 65+ above white wise men snobbery. However, this is exactly that. We started with static pages, then came Ajax and Asp.net and the open source variants, then we went full SPA, now we ar…