ErrorPro / react-google-autocomplete

React components for google places API.
MIT License
473 stars 114 forks source link

Missing isPlacePredictionsError or something similar #175

Open RobPrecious opened 2 years ago

RobPrecious commented 2 years ago

Hey! This is a really useful package but I'm finding my use case is missing an error state hook. I.e. what happens if there is an API issue whether it's down or we've surpassed our limits, we need to be able to show a user friendly error, but we need to know there has been an error at all.

ErrorPro commented 2 years ago

Hey! Indeed, the error handling isn't properly handled right now, I'll take a look into it soon or if u have time you can create a PR and we will merge it