Prefer using nothing over other falsy values as it provides a consistent
behavior between various expression binding contexts.
In child expressions, undefined, null, '', and nothing all behave the
same and render no nodes. In attribute expressions, nothingremoves the
attribute, while undefined and null will render an empty string. In
property expressions nothing becomes undefined.
A sentinel value that signals a ChildPart to fully clear its content.
Prefer using
nothing
over other falsy values as it provides a consistent behavior between various expression binding contexts.In child expressions,
undefined
,null
,''
, andnothing
all behave the same and render no nodes. In attribute expressions,nothing
removes the attribute, whileundefined
andnull
will render an empty string. In property expressionsnothing
becomesundefined
.