Open websitevirtuoso opened 1 year ago
Hi @websitevirtuoso
This one is not a bug: useRecaptchaProvider only needs to be called once. The following example defines useRecaptchaProvider in the entry point app.vue
https://dansnow.github.io/vue-recaptcha/guide#provide-recaptcha-script
Hi, is there any way to load useRecaptchaProvider only when navigating to a certain page and avoid multiple loads (lighthouse effect issue)
Description
I am using vue composition API in setup.
I am using next code
... rest of code
But when I open different pages with recaptcha. the same page multiple time it throw warning
useRecaptchaProvider
is used multiple timeMinimal Reproducible Example
To make it work I just had to check code and add condition to include provider only once
like this
Maybe we have to remove line 8 on screenhot. BUt this question to owner of this lib
System info
Build Modules: -