Wish Vue used the React component model, and wish Custom Elements could model it 1:1, but `constructor` sucks.
Indeed! We spent multiple years ensuring that HTMLElement is super()able (and it is today).
-
-
Yeah, createdCallback is long gone, lost to the dustbins of the v0 specs
-
still, a constructor shouldn't be the only place an element gets properties - from markup or createElement() they won't have any.
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.