Open ziogaschr opened 6 years ago
Under some conditions in React, it might be that the parent hasn't been added in DOM yet. In this case, instead of failing, we can use the document.body.
Under some conditions in React, it might be that the parent hasn't been added in DOM yet. In this case, instead of failing, we can use the document.body.