The Unbearable Weight of Massive JavaScript | Ryan Townsend | performance.now() 2023
Вставка
- Опубліковано 20 лис 2023
- For the past 10+ years, JavaScript frameworks and Single Page Applications have been marketed as the solution to all our performance, robustness and productivity problems, but things haven’t worked out the way we’d all hoped, have they?
- Simple marketing and ecommerce sites are still getting heavier and slower.
- Features fail in weird and wonderful ways meaning we need an ever-increasing array of tooling to monitor and debug problems.
- Teams armed with the latest Apple Silicon Macs, expensive CI tooling and complex build pipelines still can’t ship effectively.
But it’s not all doom-and-gloom: we live in a time of unprecedented opportunity to give our users a fantastic experience - the web platform has never been more capable than it is today.
Let’s look at what we can achieve by simplifying our web architecture, utilising new and upcoming Web Platform APIs and getting back to building fast, maintainable, user-friendly front-ends.
Slides: speakerdeck.com/ryantownsend/...
About Ryan: twnsnd.com
More about performance.now(); perfnow.nl
Receive conference announcements in your inbox: perfnow.nl/subscribe - Наука та технологія
I am talking this story to developers and my employers in last 5 years. All i hear back is react spa, angular, vue, svelte, solid, alpine, BLA, BLA... I am very proud of myself after i know that i am not alone. Thank You!
You’re not alone! As conference organizers we’re beating this drum for 12 years now! :)
U just need proper DDD, but sotwares made in 3rd world countries, u don't have much choice... frontend is just simple cqrs...
Excellent - thank you.
Yes!! Everyone should watch this 👍
“Work with the grain of the web” 🎉
We agree!
I've been trying to get folks on custom elements for years. Always an uphill battle. Maybe when i show folks this talk they'll see.
Great talk ❤❤❤
"but things haven’t worked out the way we’d all hoped, have they?"
I do agree that the current situation could be far improved but I will take my current workflow over the days of no Javascript, or no front-end frameworks, or templates of various flavors + jQuery spaghetti on bare metal systems any day of the week.
Two cents from a jaded senior engineer : )
Now to watch the video...
We needed this excess of JS to happen in order to know where the middle of the pendulum is, what the limits are, and how what scales.
@@Thorax232 valud point IMHO
Great talk!
My personal experience of JS frameworks (React specifically) in 3 different jobs is not better DX or developer convenience... but the total opposite! 🙄
I'm passionate about using semantic HTML, writing cleaner CSS, improving accessibility, leveraging native browser APIs, etc. I'm so glad there are many many voices shouting about this.
It's a shame that 99% of jobs still require React or equivalent.
No. Thank. You.
More responses like this please!
True that we should use web APIs more, problem is though that most of those are so low level that you are building a library around them eventually. That's why I believe that libraries themselves should start using them behind the scenes instead and still add the very useful parts we do need. That said, there are APIs that are ready to use very easily, like the many observers like the resize observer, and used with RxJS, that leads to very easy clear code without specialty libraries.
What's this annoying constant clicking?
Sorry about that, we had no idea either, but we couldn’t solve it :/
@@WebConferencesAmsterdam it's definitely an annoyance but the presentation is compelling enough to ignore the issue, my opinion at least
My guess is it comes from the same source as the weird golden hue that overlays any full-screen slide. Probably whoever recorded this was playing pong on Night Mode on their computer...
It's such an uphill battle these days. It made me poor, so I'm ready to give up and sing their (the overcomplicated toolchain crowd's) tune.
Nooooo!!!!11
this 'png.htc' hits me harder than Titanic
22:19 just left an agency where my boss thought it'd be great to implement tables using divs... just don't
Agreed, that's better with spans!
@@WebConferencesAmsterdam 😆
"click click"