Best practice for an autocomplete search field?
I have an input field that needs to autocomplete a list of best possible matches of US cities when the user starts typing their city . I ’ve populated a Supabase table with the list of cities and I ’ve tried using the rest API to make this query but I ’m not having any luck . Is there a way to use the Supabase JavaScript client rather than a REST query or is there another recommended way to implement an autocomplete feature ?