RenderableNode[Component] is evidence that you can convert a Component to
a Laminar ChildNode.
If you have an implicit val of RenderableNode[Component], Laminar can
render your Component-s by converting them to ChildNode-s, and will accept
your Component-s in child <--, children <--, etc.
A Component must have a 1-to-1 relationship to a Laminar ChildNode.
Your Component class/trait should have something like val node: ChildNode.Base
or lazy val node: ChildNode.Base in it, it must not be a var or a def.
See also – RenderableText
- Companion:
- object
Value members
Abstract methods
For every component, this MUST ALWAYS return the exact same node reference.
For every component, this MUST ALWAYS return the exact same node reference.
For every component in the sequence, this MUST ALWAYS return the exact same node reference.
For every component in the sequence, this MUST ALWAYS return the exact same node reference.