Browser & Web Performance · Middle · Question 16 of 75

A search box filters a 5 000-item list on every keystroke and typing feels laggy. Which fix helps INP the most?

Explanation

The keystroke's frame should only show the typed character. The heavy list update can happen later or in smaller chunks.

Further reading

Problem with a question

Browser & Web Performance · Middle · question 16

Test yourself

Take the Browser & Web Performance · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz