LowPriorityImplicits
trait LowPriorityImplicits
Implicit conversions from X to Inserter are primarily needed for
convenience in onMountInsert, but they are an expensive overkill
in other contexts where converting all these types to regular
Modifiers is cheaper and just as functional, so the conversions
below are de-prioritized.
Implicits
Implicits
implicit def componentArrayToInserter[Component : RenderableNode](components: Array[Component]): Base
implicit def componentJsArrayToInserter[Component : RenderableNode](components: JsArray[Component]): Base
implicit def componentOptionToInserter[Component : RenderableNode](maybeComponent: Option[Component]): Base
implicit def componentSjsArrayToInserter[Component : RenderableNode](components: Array[Component]): Base
implicit def componentToInserter[Component](component: Component)(implicit renderable: RenderableNode[Component]): Base