When using a link or ident query, nothing is returned when the value at the queried-for ident is false. For example, in the example below, the Child component will receive an empty props map instead of the expected {:root/pred? false} and will therefore render nothing instead of "false":
In use cases where we only care about truthy values for the prop, this won't matter, but it becomes relevant when there's a meaningful distinction between false and nil or missing values.
When using a link or ident query, nothing is returned when the value at the queried-for ident is
false
. For example, in the example below, theChild
component will receive an empty props map instead of the expected{:root/pred? false}
and will therefore render nothing instead of"false"
:In use cases where we only care about truthy values for the prop, this won't matter, but it becomes relevant when there's a meaningful distinction between
false
andnil
or missing values.