StaffCoder
React (Typescript)
13 modules · 53 challengesSign up
Modules13 modules · 53 challenges
Performance Optimization is a graduated React path where each question hands the candidate a finished UI and asks only for the pure logic that keeps it fast - windowing, reference-preserving updates, and memoization boundaries. It builds from a virtualized transactions table, through a memo-optimized kanban board and a dashboard whose expensive aggregation recomputes only when its inputs change, up to an infinite virtualized feed over a normalized store that composes it all.
Finish every challenge, or complete the star challenge, to complete the module.

Challenges

4 challenges

Virtualized Transactions Table

Sign up to unlock
—No data yethard
About this challenge

A banking screen must render 50,000 transactions smoothly. The header summary, filter bar, and scroll container are provided and wired, but the windowing + filter/sort logic is missing, so the table tries to mount every row (or nothing) and never filters or sorts.

Solved in a browser IDE and graded by tests. Sign up to solve

Memo-Optimized Kanban Board

Sign up to unlock
—No data yethard
About this challenge

On a kanban board, interacting with one card must never re-render the whole board. The columns, cards, and the add/edit/move controls are provided and wired, but the state ops and stable handlers are missing, so editing one card either does nothing or repaints every card.

Solved in a browser IDE and graded by tests. Sign up to solve

Analytics Dashboard

Sign up to unlock
—No data yethard
About this challenge

A metrics dashboard derives expensive aggregates (grouping, percentiles) from a large dataset. The tabs, theme toggle, and chart chrome are provided and wired, but the aggregation + its memo boundary are missing, so it either recomputes on every unrelated click or never computes.

Solved in a browser IDE and graded by tests. Sign up to solve

Infinite Virtualized Feed

STAR
Solving it completes the module
—No data yethard
About this challenge

A social feed must stay fast while endlessly scrolling. The feed shell, the memoized post component, and the sentinel are provided and wired, but the infinite-load + windowing + normalized store are missing, so scrolling either mounts everything, refetches endlessly, or lets the same post drift out of sync across the places it appears.

Solved in a browser IDE and graded by tests. Sign up to solve

We use cookies that are necessary to run Staffcoder, and optional analytics cookies to see which pages get used. Analytics stays off unless you accept. Read our Cookie Policy.