Master React Patterns
with Real Challenges
This is not another React course. You already know the basics — now it's time to practice. React Challenges gives you ready-to-use coding challenges with TypeScript, pre-styled UI, and a built-in editor with Vim mode. Focus on writing real React code, repeat key patterns, and reinforce your skills faster than ever.
Hover over the buttons on the left and right panels to see a short description of each section.
Tic Tac Toe run
Overview
Simple Tic Tac Toe game built with React following the official React tutorial solution.
Requirements
- Render a 3x3 board of squares.
- Players alternate turns: ❌ goes first, then 🔵.
- Clicking on a square marks it with the current player's symbol.
- Do not allow clicking on an already occupied square.
- Detect the winner and display it.
- Track the history of moves and allow jumping to previous moves.
- After jumping back, new moves should continue from that point.
- Include a Clear button to reset the board and history.
Notes
- Use
useStatefor managing the board state and move history. - Make sure the Clear button resets both the board and the move history.
- After jumping back in history and making a new move, ensure future moves are discarded.
Tests
- renders board with 9 squares
- first click places an X and next move places an O
- cannot click on same square twice
- winner is declared when a line is completed
- after winner no more moves allowed
- allows going back and continuing the game from a previous point
- clear button resets the game
Last challenges
#27
30min
Objects - The Must have
Master the most important object utilities in JavaScript — from keys, values, and entries to property checks, merging, and the new Object.groupBy. These fundamentals will boost how you organize, transform, and query data structures in any real-world React project.
Fair prices
Limited-time offer: enjoy reduced pricing while we're still below 100 coding challenges!
monthly plan
$9/month
Billed monthly
- 1Access to all coding challenges
- 2New challenges every week
- 3Run and test directly in your browser
annual plan
$5/month
Billed $60yearly
save 44%!
- 1Access to all coding challenges
- 2New challenges every week
- 3Run and test directly in your browser
quarterly plan
$7/month
Billed $21quarterly
save 22%!
- 1Access to all coding challenges
- 2New challenges every week
- 3Run and test directly in your browser
Free
- 1Start solving free coding challenges
- 2All challenges include TypeScript and pre-styled layouts
- 3Code editor with optional Vim mode
- 4Run and test your code instantly in the browser