Skip to content
Advertisement

Tag: google-identity

React Google Identity services

I have been trying to implement Google’s identity services API in my React app, but couldn’t get it to work. I’m trying to implement the following really simple JS code: https://developers.google.com/identity/gsi/web/guides/display-button#javascript What I came up with is the following: When I call this component in my main App it sometimes renders the button, sometimes it doesn’t (and the cause of

Advertisement