News for hackers. Stuff that matters.
Re:Please consider not adopting Google WebComponents by dathinab on Tuesday March 17, 2020 @05:51PM (#22610861)
Note sure, but doesn't AMP have "custom elements" which are not just CustomElement+Shadow DOM but google pseudo-proprietary "pre-loaded/created" elements?

Anyway it's nevertheless troublesome that google has so much influence that they can just push new web features without much discussion of other developers/browser vendors. Due to differences in internal design some features can be simple to implement for google but hard for everyone else (or the other way around, in which case google can just reject them by simply not implementing them).

EDIT: Also the non-JS web is basically dead. People should to come and accept that even if it's not perfect.

Re:Please consider not adopting Google WebComponents by SickOfSlowSites on Tuesday March 17, 2020 @08:22PM (#22612268)
> EDIT: Also the non-JS web is basically dead. People should to come and accept that even if it's not perfect.

No. I won't accept it. The JS web sucks. It's slow, bloated, provides nothing of value to me the user, and exists only to feed the maw of advertisers and platform providers who will never be satisfied with the tech we have.

HTML pages are still faster to use and 1000x easier to deploy than all this "modern" web crap that delivers less and less for more and more. Look at the site you are on!

I've never heard about this Webcomponents thing before today. I hate it already. No I'm not willing to give it a chance. I am certain, certain that it will deliver nothing but pages with 100K of actual content which need 10MB code downloads and 20s rendering times on an i5.

Web designers, developers, and especially browser developers are destroying the world wide web and replacing it with a glorified series of custom-flash apps. It's every bit as terrible as when flash was around no matter how much spin is put on these "standards". Google is the new Adobe and your website is awful again.

Re:Please consider not adopting Google WebComponents by dmix on Tuesday March 17, 2020 @08:37PM (#22612358)
You must not use any business software because that's where JS is making a killing. People rain on JS because it's abused on content sites who don't need it, but that doesn't mean it doesn't have massive utility for solving complex software problems requiring a high degree of interactivity which a static HTML form could never provide.
Re:Please consider not adopting Google WebComponents by asrt on Wednesday March 18, 2020 @04:44AM (#22614727)
>Also the non-JS web is basically dead. People should to come and accept that even if it's not perfect.

This is what it all comes to. Unparsable, terrible-to-use websites that are also not compatible with text-to-speech is the future because ad companies demand it. Users are complete non-entities in this decision.

Right now Gmail's HTML version is both faster and lighter than the regular version. The only advantage being not having to reload the entire page to load mails (which is still faster on the HTML version.)

Re:Please consider not adopting Google WebComponents by no_wizard on Tuesday March 17, 2020 @08:13PM (#22612182)
All of that is window dressing over custom elements polyfilled by document-register-element[0] and Preact[1]

Its a giant SSR machine, from what I can tell. Also web workers are leveraged to do alot of the heavy lifting when it can't be SSR'd

[0]https://github.com/WebReflection/document-register-element [1]https://preactjs.com/