-
Notifications
You must be signed in to change notification settings - Fork 124
Open
Description
Currently, usePlaceWidget does not support debounce or throttling, this cause every keystroke or interaction with the input send requests to google map API immediately. I tried some tricky way like manipulating the ref but it does not work.
I also tried usePlacesService (which supports debounce) and code a custom dropdown but it's more complicated and error-prone compared to usePlaceWidget.
I think it is necessary to have debounce option on this, because usePlaceWidget is really simple and convenient to use, and people choose this hook a lot because of its simplicity.
Thank you.
AhmedAlshair and cristian-bula
Metadata
Metadata
Assignees
Labels
No labels