snuggsi icon indicating copy to clipboard operation
snuggsi copied to clipboard

Current Status of Webcomponents

Open snuggs opened this issue 8 years ago • 8 comments

Should probably keep an eye on this @brandondees @RobertChristopher @janz93 @mrbernnz @btakita @scottmacdowell.

2018 - https://github.com/w3c/webcomponents/issues/763#758

- [WHATWG customElementRegistry](https://html.spec.whatwg.org/multipage/custom-elements.html#customelementregistry)
  • Reasoning for FF not accepting HTML Imports
  • HTML Modules
    • https://github.com/w3c/webcomponents/issues/645 - https://github.com/w3c/webcomponents/blob/gh-pages/proposals/HTML-Imports-and-ES-Modules.md
  • webcomponentsjs custom element extensions - here and here
  • https://github.com/w3c/html/issues/955
  • https://github.com/whatwg/html/issues/2791
  • https://github.com/whatwg/html/issues/2254
  • https://lists.w3.org/Archives/Public/public-html/2017Jun/0017.html
  • https://github.com/webcomponents/custom-elements/pull/88
  • https://github.com/w3c/webcomponents/issues/641
  • HTML Imports / Templates - https://gist.github.com/TakayoshiKochi/fdc1e72d4fd0bbdaf61e7f23779e9139

Proposal to improve the DOM creation api github.com/whatwg/dom/issues/150 github.com/whatwg/dom/issues/477 lit-html https://gist.github.com/WebReflection/fadcc419f5ccaae92bc167d8ff5c611b https://github.com/PolymerLabs/lit-html/issues/32#issuecomment-320800997

JSDOM

  • https://github.com/jsdom/jsdom/pull/2548

hyperhtml https://viperhtml.js.org/hyperhtml https://medium.com/@WebReflection/dom-handleevent-a-cross-platform-standard-since-year-2000-5bf17287fd38 https://twitter.com/WebReflection/status/877131029303230464

Mozilla Custom Elements (Shadow Dom) https://bugzilla.mozilla.org/show_bug.cgi?id=1205323

snuggs avatar Jun 27 '17 09:06 snuggs

Thanks, I will try to keep up.

brandondees avatar Jun 28 '17 21:06 brandondees

No worries @brandondees I'll let you know where the 🔥 s are.

snuggs avatar Jun 28 '17 21:06 snuggs

Awesome. Will keep my eyes on this.

icyc9 avatar Jun 29 '17 23:06 icyc9

@brandondees update from the last TPAC meeting. /cc @tmornini @btakita @kurtcagle https://www.w3.org/2017/11/10-webplat-minutes.html

snuggs avatar Nov 14 '17 12:11 snuggs

@brandondees @btakita @tmornini is=... attribute has some interesting ideas being flushed out. Algos fairly simple to reproduce in user land as well. Gives the ability to subclass existing elements. i.e. custom dropdown box with customized event loop hooks behind the scenes.

https://github.com/whatwg/html/issues/3402

snuggs avatar Feb 20 '18 07:02 snuggs

https://github.com/w3c/web-platform-tests/pull/9175 https://github.com/w3c/web-platform-tests/pull/9147 @brandondees @btakita @tmornini ability to extend from native HTML Elements added! In WPT (Web Platform Tests). ALL Browsers MUST implement now.

@brandondees remember we had the discussion of whether or not to extend HTMLElement as @tmornini mentioned a while ago extenitions are best avoided if possible. The spec forced extensions

We implement the following:

Element `foo-bar`
// merely a factory that links the string name to the following class.
// then `.define (element)`s for current/future occurrences
//  and `.upgrade (element)`s existing.
(class extends HTMLElement {})

We had contemplated

Element `foo-bar`

(class { /* We'll extend for you */ })

In retrospect this is where being lazy (which is usually a great thing) becomes a footgun.

snuggs avatar Mar 15 '18 18:03 snuggs

@snuggs 👍

tmornini avatar Mar 15 '18 19:03 tmornini

@brandondees @tmornini @RobertChristopher @btakita @rianby64 TL;DR; Of what's on the platform spec horizon from TPAC meeting in TOKYO. #CustomElements2020

IMHO scoped encapsulation registries seems interesting.

https://docs.google.com/document/d/1HP4f-vYZ29uUlHDqxHdftoAFBnhQZ-UFnks3m5bRfA4/edit

snuggs avatar Dec 06 '18 08:12 snuggs