Keep an older search response from replacing the latest results
Give each search request a sequence number and only render the result that belongs to the latest search. A hackathon demo can look fine when typing slowly. During a presentation, a short query may take longer than the next query. If every response updates the screen, the older request can replace the results for the words currently in the input. The user then sees results that belong to a different question.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in