You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Idea: let's make it easier to build components that are truly reusable across frameworks.
Problem: it is impossible to make all frameworks, future and past, arrive at and agree on a common contract.
Proposed Solution: Since every framework (aside from canvas/rendering ones) relies on DOM, in order to be reusable, your components should be indistinguishable from HTML/DOM elements.
Core Primitives
Custom Elements: a component is an HTML element.
Shadow DOM: hide implementation details of an element (nee component) in the same way the HTML elements hide theirs.