the idea is to remove everything so the state of the element is totally reset to match all the contents we just rerendered