Skip to content
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

Merged
merged 5 commits into from
Aug 23, 2019
Merged

2.0 #143

merged 5 commits into from
Aug 23, 2019

Conversation

dozoisch
Copy link
Owner

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?

- old parameters is still used as as a default is no prop is sent
@dozoisch dozoisch requested a review from hartzis July 14, 2019 18:04
@dozoisch dozoisch self-assigned this Jul 14, 2019
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
Copy link
Collaborator

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.

@hartzis
Copy link
Collaborator

hartzis commented Jul 14, 2019

Thoughts on removing the need for window.recaptchaOptions altogether?

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@hartzis
Copy link
Collaborator

hartzis commented Jul 14, 2019

Is it time to include a hook?

@dozoisch
Copy link
Owner Author

dozoisch commented Jul 15, 2019

Thoughts on removing the need for window.recaptchaOptions altogether?

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.

Is it time to include a hook?

Like react-hooks? I'm open to it, I haven't had much time to toy with them unfortunately

@dozoisch
Copy link
Owner Author

dozoisch commented Aug 4, 2019

@hartzis published as 2.0.0-rc.1! I removed lang completely :). Also added a small upgrade guide.

Copy link
Collaborator

@hartzis hartzis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice.

@dozoisch dozoisch merged commit 72b1fb9 into master Aug 23, 2019
@dozoisch dozoisch deleted the 2_0 branch August 23, 2019 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants