People really sleeping on <script> ๐
@astrodotbuild102K followers
311,463 views
10 Comments
Comments from the original post on X (Twitter)

@bkwebster
โWe have DOM at homeโ DOM at home: (jk tho Astro is dope.)
39 likes

@rozrozelad
If only I could have some minimal state and event handlers straight in Astro components, I wouldn't have to reach for React (or do more boilerplate instead). On one hand, who needs more frameworks. On the other, a very lightweight native solution would go a long way...
20 likes

@WildCat_io
Welcome back to jQuery
18 likes

@robertvhoesel
Whoever is running your socials is doing an astronomical job
12 likes

@otomir23
the point of frameworks is simple state binding, not "typescript and npm packages"
8 likes

@branmcconnell
Much of this is why I actually switched to using frameworks over plain JS โ `querySelector` is not scoped, so something general like `querySelector('button')` would target the first button found on the page โ many of the benefits of frameworks involve getting away from manual `addEventListener` calls and manually using `textContent`, `setHTML`, etc. and toward dynamic reactivity Granted, the proposed Signals API will hopefully alleviate some of this โ Some examples โ with svelte: โ with plain js:
8 likes

@ryands1701
Itโs amazing! I did the same with HTMX and no framework needed :)
7 likes

@therealokoro__
It's scary how easy this is ๐
4 likes

@avilyre
What's that ? Man Astro is reactive by default ? ๐ฆ
2 likes

@imagineherhappy
Bring back jQuery?
1 like
