React debugging exercise
Typing in the filter lags
A product catalog with a price chart on every row lags behind typing in its filter, and ticking a product is slow too. Find out what each keystroke costs and make it cheap.
What you’ll practice: rendering performance, expensive components
Bug report
The buying team compares products in the catalog: they type in the filter to narrow the list, and tick the products they want to compare.
Since each product got a small price chart, the page has become sluggish. Typing in the filter lags behind the keyboard, and a ticked box takes a moment to show its tick. The whole catalog has 150 products.
Find out why, and make the smallest reliable fix. Filtering and ticking must keep working, and every product keeps its chart.
Be ready to explain what made each keystroke slow and how you verified your change.
Included in Full accessThis and 4 more scenarios, plus every new one
$14.50then $29paid once
Get Full accessNot sure yet? Try a free one first: Editing one row changes another
No account. Your practice stays in this browser.
Practice on a computer
The code editor needs a bigger screen. Get this page’s link by email, and open it on your computer.
How it works
- 1
Reproduce and fix
Each scenario is a small app with one real bug. Reproduce it in the live preview, find the cause, and make the smallest fix. Five checks confirm the behavior.
- 2
Explain your reasoning
Answer four short questions: what caused it, what you changed, what you ruled out, and how you verified it.
- 3
Review another fix
Judge a proposed fix for the same bug, approve it or request changes, then see how the checks treat it.