I wonder if is possible to check if a tag element is empty, using React. The tricky part is that the element is inside of an innerHTML from an external source.
For ex