v0.20.230 - 6.4 / 6

<Normalize .../>

Resolves children as text. It unwraps all descendants and joins them into a single string, producing one text node inside a single effect — rather than one effect (and potentially one text node) per child.

# When to use

Use it when rendering purely textual content made of multiple reactive values side by side. A single effect updates the whole string when any dependency changes, which reduces the number of DOM nodes and the amount of reactive bookkeeping.

If the children are a mix of text and elements, use a regular fragment instead — Normalize turns everything into a string.

# Snippet

# Empty string

When the joined result is an empty string, Normalize renders null instead, avoiding an empty text node.