Applies component parameters (attributes and child nodes) to a specific target DOM element.
This utility drastically simplifies routing "Props" (attributes) and "Slots" (childNodes)
to either the component's root element or a specific internal element.
It smartly handles merging of class and style attributes, and safely ignores
internal attributes like id and on*.
Applies component parameters (attributes and child nodes) to a specific target DOM element. This utility drastically simplifies routing "Props" (attributes) and "Slots" (childNodes) to either the component's root element or a specific internal element.
It smartly handles merging of
classandstyleattributes, and safely ignores internal attributes likeidandon*.