Speed Up a Slow List

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • hard
  • Pro

A page has a filter text box above a list of ten thousand products. The parent component holds the filter text in state, filters the products on every render, and renders every matching row. Typing in the box feels laggy: each keystroke takes hundreds of milliseconds. Explain how you would find the cause and make typing feel instant.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →