score:1

you can use this react component react-places-autocomplete based on google places api.

score:1

i would recommend using react country-state-city, but it consumes lot of space.

score:4

you could use either of the two libraries.

  1. https://github.com/country-regions/react-country-region-selector [react component -> provides country and state]
  2. https://www.npmjs.com/package/country-state-city, [standalone library which provides country -> state -> city]

if you want to store the data and search results on your own, i would suggest you to stored it in a db, loading the data on frontend would be expensive on network.


Related Query

More Query from same tag