google-maps-react-hooks icon indicating copy to clipboard operation
google-maps-react-hooks copied to clipboard

feat: new API loader implementation

Open usefulthink opened this issue 2 years ago • 0 comments

In preparation for upcoming changes, this extracts the actual loading of the Google Maps API into a separate class.

The new implementation removes a lot of noise from the GoogleMapsProvider and should have a bit more stability especially considering the React strict-mode (we shouldn't have any more problems with running in strict-mode since actual loading is deferred to catch those problems.

Opened as draft PR for review since it still contains debugging comments and testing is ongoing.

usefulthink avatar Jan 31 '23 11:01 usefulthink