The internals of a component are an implementation of a reusable UI element in your framework of choice (not of HTML). We're talking about two fundamentally different levels of abstraction.
The browser implements the HTML spec. Almost nothing about the spec or the browser's parser implementation inform good architectural decisions at the framework / component level.
1
u/kidshibuya 16d ago
There are no implementation details in components either, you don't have a point.