I confirm it works and your version is prettier but I think the original code is clearer because of the `invalidateDescendants` name. Unless you have a strong opinion on this, I'll leave it as is.