StaffCoder
React (Typescript)
13 modules · 53 challengesSign up
Modules13 modules · 53 challenges
useReducer for state too tangled for scattered setState calls: named actions into a pure, unit-testable reducer, plus selectors that derive filtered lists, counts and flags rather than duplicating them in state.
Finish every challenge, or complete the star challenge, to complete the module.

Challenges

4 challenges

Task Manager

Sign up to unlock
—No data yetmedium
About this challenge

Build the logic behind a task board. The screen is ready - a list of tasks, tabs for All, Active, and Completed, and a counter for tasks left - but nothing responds yet. Make it work: add tasks, check them off, delete them, clear completed ones, and switch filters so the board always shows the right tasks and the right count.

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

Data Table Query Reducer

Sign up to unlock
—No data yetmedium
About this challenge

The back-office dashboard for an online store, where the team searches, sorts, and reviews orders. It's fully designed but the controls aren't wired up yet — the sidebar, search, and column sorting don't respond.

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

Data Grid Selection

Sign up to unlock
—No data yetmedium
About this challenge

Build the "select rows" behavior for a team members table. Tick a row to select it, use the header checkbox to select or clear everyone at once, and keep a running count of what's chosen - the kind of multi-select you see in any admin dashboard or inbox.

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

Form State Reducer

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

Bring a finished-looking sign-up form to life by writing the logic that tracks what's been typed, what's been touched, and what's invalid — so the form validates, enables its button, and resets correctly.

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.