Calling the loader after API has failed does nothing except throw an error. It should retry fetching the google maps library instead.
Environment details
- Specify the API at the beginning of the title (for example, "Places: ...")
- OS type and version: Linux
- Library version and other environment information: React
Steps to reproduce
- Block the
maps.googleapis.com domain in the browser network tab
- Call the loader.
- Unblock the previously blocked domain/URL
- Call the loader again, it will fail to do anything.
This is important for recovery purposes, google-maps sends a request again if it originally failed and you called the loader again.