Consuming 3rd party libraries that are expected to be loaded in the browser/window properly is generally hard (why?). We ought to look into if there are any packages/modules that have done this and it would be an improvement to use the packages/modules over doing the work ourselves.
If there is a package/module that is an improvement (what would make it an improvement?) we ought to look to leverage it in our component.
Here is a module that we can look into as a starting point:
Consuming 3rd party libraries that are expected to be loaded in the browser/window properly is generally hard (why?). We ought to look into if there are any packages/modules that have done this and it would be an improvement to use the packages/modules over doing the work ourselves.
If there is a package/module that is an improvement (what would make it an improvement?) we ought to look to leverage it in our component.
Here is a module that we can look into as a starting point:
Here is a module that provides React Google Map components and we can look into what they did:
Investigate/leverage packages/modules that load Google Maps lib/API asdf