-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.0 #143
Conversation
- old parameters is still used as as a default is no prop is sent
README.md
Outdated
|
||
__useRecaptchaNet__: If google.com is blocked, you can set `useRecaptchaNet` to `true` so that the component uses recaptcha.net instead. | ||
|
||
__removeOnUnmount__: If you plan to change the lang dynamically, `removeOnUnmount` should probably be `true`. This unloads the google recaptcha script on `componetWillUnmount` to allow for a new google recaptcha script to load next time the reCAPTCHA component is used to facilitate a new language if needed. | ||
__removeOnUnmount__: *REMOVED* This was only useful for the lang changes. Lang is now changed through |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
REMOVED This was only useful for the lang changes. Lang is now changed through the hl
prop.
Thoughts on removing the need for |
Is it time to include a hook? |
So recaptcha.net support needs to be defined quite early as it currently stands, I wonder if there is a way we can have that without the global options.
Like react-hooks? I'm open to it, I haven't had much time to toy with them unfortunately |
@hartzis published as 2.0.0-rc.1! I removed lang completely :). Also added a small upgrade guide. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice.
Thinking we can do some clean ups now that hl is a supported render prop.
I also added 12 in the CI.
Anything else you think we should add for 2.0?