Skip to content

siwakasen/react-recaptcha-v3

Repository files navigation

Google reCAPTCHA v3 in React (No Third-Party Packages)

In Google’s official documentation, reCAPTCHA v3 is demonstrated using plain JavaScript.
However, implementing it in frameworks like React requires a slightly different approach.

This project aims to apply Google reCAPTCHA v3 in the simplest possible way,
without using any third-party packages. While third-party packages can make integration easier,
they also introduce risks if the package contains bugs or malicious code.
For that reason, it’s safer to rely directly on Google’s own script.


Goals

  1. No third-party packages — depend only on Google’s official script.
  2. Simple and framework-agnostic — works with any React setup.
  3. Reusable hook — reCAPTCHA loads only on specific pages, not globally.

Demo & Repository

About

Google reCAPTCHA v3 in React (No Third-Party Packages)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors