react-googlemaps
react-googlemaps copied to clipboard
Any tips on conditionally loading Google's API when the particular component is rendered?
Anyone successfully loaded Google's maps API and js only when the component is being rendered?
I was struggling with this. You might want to take a look at https://github.com/matnel/react-maps and in particular https://github.com/matnel/react-maps/blob/master/src/map.js#L96