Загрузка видео...

Не удалось загрузить видео

На главную

"Declarative code compiles to imperative code that's hard to debug, I'm not sure we're in a better place now than we were with jQuery" ThePrimeagen

140,477 просмотров • 3 лет назад •via X (Twitter)

Комментарии: 11

Фото профиля Marc Grabanski
Marc Grabanski3 лет назад

I built TodoMVC in < 200 lines of code Then with lit-html it's even less lines of code with efficient DOM updates using simple template literals

Фото профиля ThePrimeagen
ThePrimeagen3 лет назад

I agree

Фото профиля EduardoRFS.tei
EduardoRFS.tei3 лет назад

@ThePrimeagen You don't debug assembly very often, so why is it relevant if the code is doing another compile pass? Assuming the semantics are preserved it just doesn't matter

Фото профиля piq and 69 others
piq and 69 others3 лет назад

@ThePrimeagen you guys moved away from jquery?

Фото профиля Dany Cam ⚡️🔥🇨🇦
Dany Cam ⚡️🔥🇨🇦3 лет назад

@ThePrimeagen

Фото профиля MySmallfish 🇮🇱
MySmallfish 🇮🇱3 лет назад

@ThePrimeagen New projects I use vanilla js. It’s just the same effort for much less heavy, debug right in the browser with nothing between me and the code and no quirks to cover up. Also using @statelyai xstate for more complex

Фото профиля Ravavyr
Ravavyr3 лет назад

@ThePrimeagen I made with just a vanilla JS class and methods. In the end, all of these things have to use vanilla JS at the bottom so why not start there to make something simple and reusable? [note, i've not updated it in two years, there's a few minor issues]

Фото профиля Marc Grabanski
Marc Grabanski3 лет назад

@ThePrimeagen Awesome!! 🙌

Фото профиля Anthony
Anthony3 лет назад

@ThePrimeagen UI peaked in Highschool. When Bootstrap was what everyone was talking about.

Фото профиля Josh Close
Josh Close3 лет назад

@ThePrimeagen I find React + TypeScript to be a nice sweet spot.

Фото профиля Marc Grabanski
Marc Grabanski3 лет назад

@ThePrimeagen What he said must have gone right over your head.

Похожие видео