Skip to content
Kaleb Hornsby edited this page May 26, 2015 · 3 revisions

Checklist » [DOM Presence](Home#DOM Presence)

✓ Host Independence

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

Clone this wiki locally