React captcha v3 is slowing my page significantly

Viewed 393

I'm using react-google-recaptcha-v3 in my React project. I have used defer prop attribute but it is still slow.

enter image description here

How can I improve the speed with the use of this plugin? It only affects significantly on mobile view. Is there a way to not load the form portion during page load? Or any better solution for this issue?

<GoogleReCaptchaProvider
  reCaptchaKey="KEY_HERE"
  scriptProps={{
    defer: true,
  }}
>
//Form here
</GoogleRecaptchaProvider>
0 Answers
Related