antokara / react-recaptcha-x

a React reCAPTCHA version 3 and version 2 (checkbox) component in one.
MIT License
23 stars 11 forks source link

React 18 support #103

Closed dmorda closed 2 years ago

dmorda commented 2 years ago

I was installing this in a project that uses Gatsby and React 18. Got the following message during npm install.

npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.6.0 || ^17.0.0" from react-recaptcha-x@1.1.13
npm ERR! node_modules/react-recaptcha-x
npm ERR!   react-recaptcha-x@"^1.1.13" from the root project

Any chance of React 18 support soon?

antokara commented 2 years ago

@AlexKarajohn please add support

antokara commented 2 years ago

@dmorda , support for React 18.x was just added with #104 by @AlexKarajohn .

Please let us know if you have any issues with the latest release and/or React 18 support. Thank you!

dmorda commented 2 years ago

Awesome, thanks for the update @antokara!