You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After rendering a component with <Recaptcha ... and the page unmounts including the component, for some reason the following is printed in the console:
Turns out, this happens if the component unmounts shortly after mounting (probably before the captcha renders). I had a slight bug in my application where the component would render on construction and disappear instantly due to a componentDidMount update changing the conditional logic to render it. After fixing that, the issue went away.
Yep, that's it. I was conditionally removing the component from the page after theverifyCallback, which triggered the timeouts. I've changed the component to use visibility: hidden for now. However, removing the component probably shouldn't throw these console errors?
After rendering a component with
<Recaptcha ...
and the page unmounts including the component, for some reason the following is printed in the console:Looks like this started happening since React v18
The text was updated successfully, but these errors were encountered: