Extract the text nodes from a virtual element.
Absent children (null, undefined and booleans) render nothing in Mithril, so they contribute no text. This lets conditional content such as ['Tags', showExtra && extra] be extracted safely.
null
undefined
['Tags', showExtra && extra]
Extract the text nodes from a virtual element.
Absent children (
null,undefinedand booleans) render nothing in Mithril, so they contribute no text. This lets conditional content such as['Tags', showExtra && extra]be extracted safely.