anthonyjgrove / react-google-login

A React Google Login Component
https://anthonyjgrove.github.io/react-google-login
MIT License
1.85k stars 425 forks source link

Modify package.json to support react 18 #528

Open toto1384 opened 2 years ago

ajitdas123 commented 2 years ago

@toto1384 What if we allow all react version basically instead "react": "^16 || ^17" || "^18", if we use "react": "*", . This will take care of all upcoming versions.

toto1384 commented 2 years ago

@toto1384 What if we allow all react version basically instead "react": "^16 || ^17" || "^18", if we use "react": "*", . This will take care of all upcoming versions.

Future changes of React might break the functionality of this library. I have tested a little how it performs on React 18 and it seems to work. But maybe React 19 will break it.