invalidateSubtree
Function
Common
fun DelegatableNode.invalidateSubtree()
Invalidates the subtree of this layout, including layout, drawing, parent data, etc.
Calling this method can be a relatively expensive operation as it will cause the entire subtree
to relayout and redraw instead of just parts that are otherwise invalidated. Its use should be
limited to structural changes. This might be necessary in certain situations where you are
updating some data which you know descendant nodes use, but you are not relaying on automatic
snapshot observation through androidx.compose.runtime.MutableState
.