Unwrap a cell. The DOM is rebuilt whenever the input cell changes. If the cell value is null or undefined the else-branch will be rendered instead (similar to Deref).
else
A function that accepts the unwrapped value and returns an element
Optional
Optional element to render if the cell value is null or undefined.
The cell to unwrap.
const num = bind(5);<Unwrap from={num}>{ num => {num + 5} is ten}</Unwrap> Copy
const num = bind(5);<Unwrap from={num}>{ num => {num + 5} is ten}</Unwrap>
Unwrap a cell. The DOM is rebuilt whenever the input cell changes. If the cell value is null or undefined the
else
-branch will be rendered instead (similar to Deref).