Reactjs – ReactSearchAutocomplete – set state not updating items, only updates on next search
I'm using ReactSearchAutocomplete to display a list of 10 suggested names from a mySql query. The query is performed with a 100ms delay on user input, and it works fine but I'm clearly not handling the state properly because the…