Hello, how can I bypass the reference of an element that no longer exists in the DOM structure?
My problem is that as a result of asynchronous addition of elements to a container that initially contains one element, this element is removed when the first element is added to the container, but its reference remains when using, for example, the children method.