Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current Status of Webcomponents #71

Open
snuggs opened this issue Jun 27, 2017 · 8 comments
Open

Current Status of Webcomponents #71

snuggs opened this issue Jun 27, 2017 · 8 comments

Comments

@snuggs
Copy link
Member

snuggs commented Jun 27, 2017

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

2018 - WICG/webcomponents#763 (comment)

- [WHATWG customElementRegistry](https://html.spec.whatwg.org/multipage/custom-elements.html#customelementregistry)

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
lit/lit#32 (comment)

JSDOM

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

@brandondees
Copy link
Collaborator

Thanks, I will try to keep up.

@snuggs
Copy link
Member Author

snuggs commented Jun 28, 2017

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

@icyc9
Copy link
Collaborator

icyc9 commented Jun 29, 2017

Awesome. Will keep my eyes on this.

@snuggs
Copy link
Member Author

snuggs commented Nov 14, 2017

@snuggs
Copy link
Member Author

snuggs commented Feb 20, 2018

@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.

whatwg/html#3402

@snuggs
Copy link
Member Author

snuggs commented Mar 15, 2018

web-platform-tests/wpt#9175
web-platform-tests/wpt#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.

@tmornini
Copy link
Collaborator

@snuggs 👍

@snuggs
Copy link
Member Author

snuggs commented Dec 6, 2018

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants