PeterBreen / gmapreact

Google Maps / Create React App - a quick starter repo for anyone using CRA and wanting to quickly deploy a Google Map
https://peterbreen.github.io/gmapreact/
1 stars 0 forks source link

'best' JS loader? #5

Open PeterBreen opened 7 years ago

PeterBreen commented 7 years ago

Investigate better/alternate ways to load google maps JS for performance and best practices

PeterBreen commented 7 years ago

Specifically, look into ways to load the google JS inside React instead of in the html <head> tag without breaking namespace. Code currently relies on a global google object, which the html loader provides, and has some contextual issues if loaded in componentDidMount() that would need to be resolved.