Skip to content

Conversation

@joao-imi
Copy link
Contributor

@joao-imi joao-imi commented Dec 2, 2025

Adds a new Provider/Hook pattern as an alternative API for using hCaptcha in React applications.

Demo:

demo.mov

@joao-imi joao-imi self-assigned this Dec 2, 2025
@joao-imi joao-imi requested a review from a team as a code owner December 2, 2025 16:29
@joao-imi joao-imi requested a review from brdlyptrs December 2, 2025 18:59
@brdlyptrs
Copy link
Collaborator

brdlyptrs commented Dec 3, 2025

Thank you @joao-imi, example and documentation are good. Can you make sure to bump the version? Also please add some tests, once you have a moment.

@joao-imi joao-imi requested a review from brdlyptrs December 3, 2025 13:43
@joao-imi
Copy link
Contributor Author

joao-imi commented Dec 3, 2025

Thank you @joao-imi, example and documentation are good. Can you make sure to bump the version? Also please add some tests, once you have a moment.

@brdlyptrs tests added and bumped version accordingly! Thank you!

@brdlyptrs
Copy link
Collaborator

Looks good @joao-imi Can you add tests to verify that the token and error update as well?

@joao-imi
Copy link
Contributor Author

joao-imi commented Dec 4, 2025

Looks good @joao-imi Can you add tests to verify that the token and error update as well?

Done @brdlyptrs!

@joao-imi joao-imi merged commit a470bdf into master Dec 8, 2025
4 checks passed
@joao-imi joao-imi deleted the hooks branch December 8, 2025 13:20
@fatraseptian6-tech fatraseptian6-tech mentioned this pull request Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants