DEV Community 👩‍💻👨‍💻

Discussion on: ✨ Introducing use-places-autocomplete: React hook for Google Maps Places Autocomplete

Collapse
eminqasimov profile image
Emin Qasimov • Edited on

hi, thanks for this amazing hook
I have a question, How can i integrate this hook with useScript -usehooks.com/useScript/
to load google map script asyncly?
I get below error

'> 💡use-places-autocomplete: Google Maps Places API library must be loaded. See: github.com/wellyshen/use-places-au...';

Collapse
chakandinakira profile image
Lloyd

I am getting the same error, has anyone found a solution for this?