4 ms·
Theo dug into Hey and Hotwire only a day ago and has a less than flattering take. Not on the concept necessarily but some implementations. https://m.youtube.co
by navs 2y ago
Theo dug into Hey and Hotwire only a day ago and has a less than flattering take. Not on the concept necessarily but some implementations.
https://m.youtube.com/watch?v=5jIwILYjXrU https://m.youtube.com/watch?v=5jIwILYjXrU
- DoesntMatter22 2y agoI think that has more to do with the fact that he is paid for by Vercel than anything. He's mostly been saying negative things about Rails despite not understanding how it works.
- claudiug 2y agoif this is real, that is sad from vercel and sad for all the lunatics that listen to him. we move this yelling crap from politics to programming.
- leerob 2y agoHi, I work at Vercel. We have sponsored some of the videos on his YouTube channel, but this is not one. And FWIW, I don't agree with the approach here.
- DoesntMatter22 2y agoInteresting. The way he said it I thought it was an ongoing arrangement. Idk why he does videos like this because it ends up reflecting poorly on Vercel or other companies he's associated with.
- NorwegianDude 2y agoI agree that that calendar doesn't seem great, and the problems do exist. However, adding tons of latency while saying you're not doing so in order to make fun of someone's work is either malicious or extreme lack of competence. In the video he sets the chrome throttle option to slow 3G, and that adds large restrictions on bandwidth, and a ton of latency. He states that he is not doing so, and that adding latency can't be done in the browser. That is literally what the option does. If you add seconds of latency then requests will take seconds, who would imagine...
- gjsman-1000 2y agoTo me, A. The complaint about how every keypress goes to the server says literally nothing about HTML over the wire. It’s obviously how Hey chose to do things (or it was a bug), but Theo should be experienced enough to know that most approaches don’t need to be like this. Attributing a sloppy implementation by Hey onto a video about Rails as a whole is inflammatory. B. And if he isn’t, and doesn’t realize that HTML over the wire doesn’t mean you can’t have any JavaScript, he should stop talking about what he does not understand. C. This is personal taste, but a man with his hair style shows he can’t recognize good taste if it hit him in the face.
- CodeWriter23 2y agoI don’t think you’re intimately familiar with the concept of maintaining state server side vs client side. The field is reactive, therefore under Hotwire/Livewire/etx state changes (aka ‘typing on keyboard’) require a round trip to the server to get the state updated server side and to get the re-rendered component to update the client. Could he perhaps have chosen a different reactivity model, perhaps, or maybe not. In any event this is a clear illustration of client-side vs. server-side reactivity. This is why we abandoned DHTML 2 decades ago, invested in jQuery to encapsulate variations in JavaScript across browsers and worked hard on standardizing JS so you could write code once and have it work across vendors.
- gjsman-1000 2y agoOr, as many approaches i.e. Livewire use, you can just use some JavaScript for basic interactivity, and send a non-trivial amount of state to the server in a batch rather than a request for each item. This is how I’ve implemented my website. I am quite aware of how this is done, I suggest you look further into it.
- eviks 2y agoB. The fact that he's aware there is still JS is obvious from the first minutes of the video and is repeated many times throughout.
- gingerlime 2y agoIt’s entertaining and he points to some bugs like race conditions that shouldn’t be there, but I’m not sure if it’s specific to Hoywire. Also his statement that DHH/Rails claim Hotwire is the only way, or that you cannot also use React or plain JS is just silly and disingenuous.
- CodeWriter23 2y agoThis should be the top comment. Unfortunately you’ve got the 37Bury Brigade out here in force. Mind your thoughts is their message.
- claudiug 2y agothe app does not work, I dont have internet. the app and the owners are terrible developers. that sums the video.
- CodeWriter23 2y agoNah, creating duplicate calendar entries because you did not receive visual feedback before getting frustrated and making another one sucks. Maybe watch the video instead reading the bullshit the narrative drivers are feeding you.
- DandyDev 2y agoRead the other comments. The video creator is literally adding artificial latency and then complaining about bad performance.
- CodeWriter23 2y agoWatch the video, he does both no latency and introduced latency. And is quite up front about it. Nothing wrong with his methodology at all.
- gherkinnn 2y agoWhy does everything Theo touch go up in a flaming shitshow? DHH can be an inflammatory prick himself, but he just about balances it with competence. I hate how there are JS influencers now. And I hate how they repeatedly cause drama for clicks. There will be a fresh idiotic topic bubbling up every few weeks. It will be semicolons soon, I am sure of it. I hate it.