Courses / React 19: From Components to Production / Chapter 28
Module 12 · Practice and Mock Interview · Chapter 28 of 30
Machine Coding Practice: Timed UI Builds
Builds on The React Interview: Rounds, Scoring and a Study Plan, State and Effects: useState, Events, useEffect and Cleanup, Forms: Controlled and Uncontrolled Inputs, Validation and Form Actions, Data Fetching: Requests, Loading States, Races, Caching and Errors, Architecting React Apps at Scale: Structure, State and Component APIs and Accessibility, Internationalisation and Design Systems. Next up: Render and Hook Puzzles: Predict the Output.
Part 1 · Stopwatch (30 minutes): time from timestamps, not from ticks
How to use this chapter, and the brief
Each lesson in this chapter is one timed build: a brief, a plan, a model answer that was run with its tests, and a short rubric. Set a timer for the time box, build it yourself from the brief, and only then read the answer. The time boxes are our recommendation. The Front End Interview Handbook lists a stopwatch, a data table, a file explorer and a star rating among its example builds, and gives no time limit, so ask for one before a real round. The toast queue and the code input are our additions.
Work the way the interview chapter described: clarify, plan the state, build the smallest working version, add edge cases, test, review. Then score yourself from 1 to 4 on communication, problem solving, technical competency and testing. Talk through your choices as you go, even alone. The builds below use only what earlier chapters taught, and refer to those chapters by name where a choice depends on one.