Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Turn JavaScript off in your browser and then come talk to us

188,641 görüntüleme • 2 yıl önce •via X (Twitter)

8 Yorum

Kent C. Dodds 🌌 profil fotoğrafı
Kent C. Dodds 🌌2 yıl önce

Listened to this bit this morning and I wanted to reiterate what @stolinski said about it working *before* the JS loads. It's similar in a way to your point that the site should not require JS for the initial render. But in either case, a big part of the benefit of doing this actually has more to do with DX than UX. If you commit to things working without JS, then you commit to keeping state out of the client which means you simplify your data management and syncing a great deal. This is why people loved talking about how Remix's approach (and the approach adopted by all the frameworks now) allows us to not think about application state management anymore. Because when you're progressively enhanced you naturally have a simpler mental model. I talk about this more with an example in my RenderATL talk:

{🧪} Pablopang.sve‎Ite profil fotoğrafı
{🧪} Pablopang.sve‎Ite2 yıl önce

The point is not to accomodate for those who disable JavaScript...is to allow users with spotty internet connection to still use your website before JS loads. My stance is: make your website usable without JS (use forms, links, query parameters, SSR) and go crazy as soon as JS loads!

Kevin Kipp (@kevinkipp.com on 🦋) profil fotoğrafı
Kevin Kipp (@kevinkipp.com on 🦋)2 yıl önce

Counter point:

Daniel profil fotoğrafı
Daniel2 yıl önce

Turn the WiFi off and then come talk to me.

hitesh profil fotoğrafı
hitesh2 yıl önce

This is a spicy take but it's realistic one

Jordan Harband profil fotoğrafı
Jordan Harband2 yıl önce

nobody turns off JS - but it’s a very useful proxy for when JS breaks or fails to load, which happens way more often than people like to realize

SethDavis.tsx profil fotoğrafı
SethDavis.tsx2 yıl önce

Every @remix_run demo ever 🤣

Jack Franklin profil fotoğrafı
Jack Franklin2 yıl önce

What about people like me who want JS but also have to deal with rubbish phone signal on my morning commute? Also define "works"...it's not that everything has to be perfect but I should be able to get at the content.

Benzer Videolar