I'm trying to create a react component to handle my recaptcha. I need to use the data-callback in order to set the value of my component since we're not using form tags. What happens is that through Google's recaptcha they load the field through an iframe. This means I don't have access to the textarea that contains the response from Google. I need to get the value of the textarea only after it's been validated. I'm prevented from doing so because the API is not loading prior to my react component rendering. If I try to use grecaptcha in my component it's undefined. However, after the page loads I can use grecaptcha in the console.I'm trying to create a react component to handl