react-googlemaps icon indicating copy to clipboard operation
react-googlemaps copied to clipboard

Any tips on conditionally loading Google's API when the particular component is rendered?

Open braco opened this issue 10 years ago • 1 comments

Anyone successfully loaded Google's maps API and js only when the component is being rendered?

braco avatar Nov 19 '14 17:11 braco

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

NickLydon avatar Jun 26 '15 17:06 NickLydon