🚀 #Turbo listens to Turbo Streams like a toddler with a new toy: it just adds, removes, or rearranges things because it can. 🤖 Custom HTML elements are apparently magic wands that make website changes without asking if it’s a good idea. 🧙‍♂️ It's like giving a squirrel caffeine and watching it "organize" nuts. 🍂💨
https://ducktypelabs.com/how-does-turbo-listen-for-turbo-streams/ #TurboStreams #CustomElements #WebDevelopment #WebDesign #SquirrelCaffeine #HackerNews #ngated
How does Turbo listen for Turbo Streams?

How does Turbo listen for Turbo Streams?

@aristotelesbr as far as I know, the #Hotwire ecosystem uses WebSockets with the Turbo stuff.

I think especially the #TurboStreams thingies are entirely relying on #WebSockets which are persistent connections.

But @marcoroth and @ayush surely know far more about that whole topic than I do. 😉

Just tried out Turbo Streams and I'm really impressed with how it simplifies client-side updates. After playing around with it for a bit, I'm starting to get the grasp of it now. I like how it allows me to send updates to the client without refreshing the whole page.

#TurboStreams #Hotwire #WebDevelopment #JavaScript #ServerSentEvents