ontext, jakarta.faces.component.visit.VisitCallback)</code></a>. For each node, call
 <a href="../component/StateHolder.html#saveState(jakarta.faces.context.FacesContext)"><code>StateHolder.saveState(jakarta.faces.context.FacesContext)</code></a>, saving the returned <code>Object</code> in a way such that it
 can be restored given only its client id. Special care must be taken to handle the case of components that were added
 or deleted programmatically during this lifecycle traversal, rather than by the VD