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
Can you use the component inside a wide range of host element types?
[This article is a stub, and is not yet complete.]
It’s rare to find a component that should only ever be used inside of a
particular host. Even a <li> found outside its normal <ul> or <ol> context will
still render as a list item. At a minimum, a component that finds itself inside
an unexpected host type should avoid throwing exceptions. Keep in mind that
components can be subclassed, so even a compatible host could have an unexpected
tag. (See Subclassing.)