react-places-autocomplete
react-places-autocomplete copied to clipboard
react-google-autocomplete infinite loading with react-google-maps
On npm start, first load of the project will work as intended.
What is the current behavior? After page refresh, dropdown menu displays "loading..." infinitely
*Edit After removing react-google-maps component from the page I found that it works fine. How can I have autocomplete working in conjuction with a map component in the same page?
See my comment in this issue, it solved the problem for me.
index.js:1375 Google Maps JavaScript API error: ApiNotActivatedMapError
The Maps JavaScript API is not activated on your API project. You may need to enable the Maps JavaScript API under APIs in the Google Cloud Platform Console.
Follow this guided flow to enable the Maps JavaScript API for your project.