react-google-oauth
react-google-oauth copied to clipboard
A Google OAuth component for React
Warning: Legacy context API has been detected within a strict-mode tree. The old API will be supported in all 16.x releases, but applications using it should migrate to the new...
Regarding the issue #3 ReferenceError: window is not defined I would suggest to try something like that.
Hi, Here is the error I get when using your component with [next](https://github.com/zeit/next.js/). ``` ReferenceError: window is not defined at /home/vincent/gitlab/webapps/thrusters/node_modules/react-google-oauth/dist/react-google-oauth.js:5912:2 at /home/vincent/gitlab/webapps/thrusters/node_modules/react-google-oauth/dist/react-google-oauth.js:5901:46 at ./node_modules/style-loader/lib/addStyles.js.module.exports (/home/vincent/gitlab/webapps/thrusters/node_modules/react-google-oauth/dist/react-google-oauth.js:5946:46) at Object../src/styles.css (/home/vincent/gitlab/webapps/thrusters/node_modules/react-google-oauth/dist/react-google-oauth.js:7391:134) at...
Fixed path of webpack config. Before it was pointing to config folder. But there is no config folder there