StaffCoder
React (Typescript)

React Coding Challenges

React 19
13 modules · 53 challengesSign up
Modules13 modules · 53 challenges
The building blocks of every React app. Learn to break a UI into reusable components and pass data into them with props — the foundation everything else builds on.
Finish every challenge, or complete the star challenge, to complete the module.

Challenges

4 challenges

Greeting Card

Sign up to unlock
47%8 of 17 solvedeasy
About this challenge

This problem covers greeting people by name, and what to show when no name has been given.

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

Reusable Button

Sign up to unlock
75%3 of 4 solvedeasy
About this challenge

Here you build one shared button whose text and click behaviour are decided wherever it's used.

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

Avatar with Initials

Sign up to unlock
50%2 of 4 solvedeasy
About this challenge

This task deals with missing profile pictures, standing in with the person's initials instead.

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

Product Price Card

STAR
Solving it completes the module
75%3 of 4 solvedeasy
About this challenge

The focus here is showing a shopper the old price, the discounted price, and what they save.

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

About this path

React, built the way real teams build it. Learn to think in components and ship interfaces that stay maintainable as they grow. You'll start with components, props, and state, then move through hooks, side effects, forms, data fetching, context, performance, and the patterns production apps are built on. Every exercise is a small piece of a real UI, so you learn not just how React works, but how to make the design decisions good frontend engineers make every day. Finish able to build, structure, and reason about React applications with confidence.

This path starts with components and props and goes on to state, forms, effects, custom hooks, reducers, context and performance. You should be comfortable with HTML, CSS and modern JavaScript before you start. No earlier React experience is needed. Later challenges include a virtualized transactions table, a memo-optimized kanban board and an infinite feed.

From the blog

4

Frequently asked questions

4

What will I practice in this path?

13 modules: Components & Props, Calculators & Derived State, State & Interactivity, Composition & Communication, Forms & Inputs, Lists & Collections, Side Effects & Data Fetching, Custom Hooks, Reducers & State Logic, Forms & Validation, Context & Shared State, Async Patterns and Performance Optimization.

How many React exercises are there, and how hard are they?

53 exercises: 24 easy, 25 medium and 4 hard.

What does this path run on?

Challenges run on React 19.

Do I need to install anything?

No. Every challenge runs in a browser-based IDE with everything already set up, and your code is graded automatically against a test suite.

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.