SpinTheMic
Pro

Interview practice question

A large list makes typing in a search box slow

Frontend Engineering · React · Intermediate

Typing in a search box that filters a list of 10,000 items feels laggy. How would you fix it?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Profile to confirm cause.
  • useDeferredValue/useTransition for filtering.
  • Virtualise list rendering.
  • Memoise filtered results and list items.
  • Debounce if expensive or server-side.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics