Wow that is amazing! We really like what you did with this project, and we’re always happy to see our community create amazing things with our projects
I had a look at your implementation, and it’s really nice
I have a few idea on how you could add more functionalities to your library (taking inspiration from the functionalities of places.js):
- You could expose places filters like countries and type, so that users can search only for certain types of records (like cities) in certain countries
- You could use the render prop pattern to allow users to customize the suggestions however they want.
- You could do is accept a function that formats the text content of the input based on the selected result (some people may want to see city, postcode, country)
Congrats on the library it’s really cool!