Web Components are *not* using the platform. It's easy to show. They keep changing the rules of what "the platform" means, but they are still not using it, unlike literally everyone else.
Ironic because they are in a very literal sense a part of the platform themselves
1/7
Web Components: The only tech that struggled to create form components that would be seen by the browser and sent as a part of the payload.
Had they used the platform, this would be a non-issue. So they changed the rules:
Web Components are HTMLElements. So they cannot subclass, or encapsulate SVG, or be used inside SVGs
Had they used the platform correctly, this would be a non-issue, as it is a non-issue, you guessed it, for everyone else.
They are not changing the rules on this (yet?)
4/7
In 2022 Web Components Community Group released their first status report:
It shows that Web Component need to change the rules 20 more times. Literally none of them are issues for projects that use the platform. Including the critical ones like ARIA
And as some proponents of "use the platform" decry the increased usage of JS on the web, Web Components are continuously changing the rules by requiring more and more JS for them to be able to do work that literally everyone else can already do.
6/7
Next time a Web Component proponent asks you to "use the platform", tell them: "Already am. Are you?"
7/7
• • •
Missing some Tweet in this thread? You can try to
force a refresh
In the thread she made the following claims: that wiz powers Search, Workplace and Youtube and that the merge will bring impressive improvements to Angular's performance due to wiz:
Make no mistake, the amazing performance of Youtube looks like this:
3 seconds to render an empty page. 11 MB of JS, 2.5 MB of CSS, Lighthouse screams at every Youtube embed and suggests you use third-party embed scripts etc.
@lil_htlr@kleschby Я не то, чтобы спец, у меня по этому поводу strong opinions :D
Итак.
*Концепция* веб-компонентов такова: зачем плодить еще больше все больше новых фреймворков, которые, по сути, создают одни и те же компоненты? Можно часть необходимого функционала впилить в браузер. 1/
@lil_htlr@kleschby Тогда если кто-то создаст, например, date picker или там menu, которые все нравятся, то их можно будет использовать напрямую, не подтягивая сторонние фреймворки.
То есть ты создаешь «черную коробочку» из JS и CSS, и используешь, как хочешь, не боясь, что она поломается 2/
@lil_htlr@kleschby Дополнительной концепцией было «userland сможет быстро проводить итерации над требуемыми вещами, стандартизировать их, а потом их можно будет постепенно втягивать в браузер», а так же «можно будет стандартным способом расширять встроенные компоненты типа select'ов и input'ов», 3/
I often hear: well, it's an amazing layout system. If there's anything lacking, show me anything that works under the same constraints: having to work with multiple screen sizes and adapt to them seamlessly.
Well, a thread🧵
1/
Let's start with this: the whole idea of "we have a web-site, and it can display itself differently in a desktop browser and in a mobile browser" is literally nothing but an extension of CSS Zen garden: csszengarden.com
The idea is as old as CSS itself:
2/
You have a website, and just by changing CSS you can make it look and feel completely differently. Here's CSS Zen Garden with various CSS applied.
It works as well as you'd expect: some manage to do it very well. Some manage to do it poorly. And some don't manage at all
If you follow @troyhunt and @lukew you know how bad things are around passwords, password forms, and password requirements. At the same time you're thinking: "it can't be *that* bad, can it?"
Oh, boy. A thread with nine examples
1/12
My laptop was stolen. So I decided to go through ~300 accounts stored in my 1password looking for weak passwords, 10-year old passwords etc. And updating them.
I updated ~50 accounts. Too bad I was busy changing passwords and not taking screenshots. Here's what I found:
2/12
- If you use a password manager, you will have to copy paste the new generated password into the "New password/Reset password form".
Pasting text will not trigger form validation. You have to at least delete and re-type a character. The most common problem.