I introduced a logic error in 0.2.0. When the child is a component, hasChildTextNode() uses a componentDidMount listener to check the DOM of the rendered component. However, after binding the componentDidMount listener, hasChildTextNode() returns undefined, resulting in the error handler being called prematurely. To fix this hasChildTextNode() should return true in this case.
I introduced a logic error in 0.2.0. When the child is a component, hasChildTextNode() uses a componentDidMount listener to check the DOM of the rendered component. However, after binding the componentDidMount listener, hasChildTextNode() returns undefined, resulting in the error handler being called prematurely. To fix this hasChildTextNode() should return true in this case.