Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

People really sleeping on <script> 🙄 Astro lets you put TypeScript and npm packages in there. Who needs a framework when you have the DOM at home?

311,416 görüntüleme • 1 yıl önce •via X (Twitter)

10 Yorum

Brandon Webster profil fotoğrafı
Brandon Webster1 yıl önce

“We have DOM at home” DOM at home: (jk tho Astro is dope.)

Elad Rosenheim 🇮🇱🇺🇦 profil fotoğrafı
Elad Rosenheim 🇮🇱🇺🇦1 yıl önce

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...

Mike Chong (WildCat) 🏔️⭐️ profil fotoğrafı
Mike Chong (WildCat) 🏔️⭐️1 yıl önce

Welcome back to jQuery

Robert van Hoesel profil fotoğrafı
Robert van Hoesel1 yıl önce

Whoever is running your socials is doing an astronomical job

@otomir23.me 🦋 profil fotoğrafı
@otomir23.me 🦋1 yıl önce

the point of frameworks is simple state binding, not "typescript and npm packages"

Brandon McConnell profil fotoğrafı
Brandon McConnell1 yıl önce

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:

Ryan Dsouza profil fotoğrafı
Ryan Dsouza1 yıl önce

It’s amazing! I did the same with HTMX and no framework needed :)

👩🏾‍💻𝕺𝖐𝖔𝖗𝖔 𝕽𝖊𝖉𝖊𝖒𝖕𝖙𝖎𝖔𝖓💻 profil fotoğrafı
👩🏾‍💻𝕺𝖐𝖔𝖗𝖔 𝕽𝖊𝖉𝖊𝖒𝖕𝖙𝖎𝖔𝖓💻1 yıl önce

It's scary how easy this is 😅

Avily Silva profil fotoğrafı
Avily Silva1 yıl önce

What's that ? Man Astro is reactive by default ? 😦

xHomu profil fotoğrafı
xHomu1 yıl önce

Bring back jQuery?

Benzer Videolar