Closed aleks-pro closed 1 year ago
This issue has been automatically marked as stale because it has not had any activity for a long period. It will be closed and archived if no further activity occurs. However, we may return to this issue in the future. If it still affects you or you have any additional information regarding it, please leave a comment and we will keep it open.
We're closing this issue after a prolonged period of inactivity. If it still affects you, please add a comment to this issue with up-to-date information. Thank you.
If you use
getReact
method against component with DOM elements in props, the method will throw the 'getReact cannot return DOM elements. Use Selector functions for this purpose' error. The real cause of the problem isn't obvious from the error message. It should be more clear if we add to it additional info. E.g.: 'Most likely the component props or state contains DOM elements/react components.'