ErrorPro / react-google-autocomplete

React components for google places API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Package does multiple requests to Google Maps API for no reason

leineveber opened this issue · comments

As you can see on the screenshot, some requests are from the cache, but some really trigger Google Maps API. It's important to notice that I didn't touch my input at all! It already has filled address, I just loaded the page that has Autocomplete and I see these requests. It's okay to have requests from the cache, but why does it really trigger API if I have filled address and I didn't touch input?
image