Programming with Mosh
FreeReact Native Tutorial for Beginners
Mosh Hamedani's polished two-hour React Native intro: components, Flexbox layout and debugging. Ends before navigation, data or state…
Meta Open Source
React's official tutorial: build tic-tac-toe with move history and learn lifting state up, immutability and keys in one sitting. No setup required.
Opens on Meta Open Source — a direct link, no affiliate tracking.
One tic-tac-toe board, and by the end of it you understand why React works the way it does. The React team rebuilt this tutorial for react.dev and it remains the fastest honest introduction to the library — no build tooling required, since you can run the whole thing in CodeSandbox if you'd rather not install Node.
The structure is four stages: setup, an overview of components and props, completing the game, and then adding time travel. That last stage is the one that earns the tutorial its reputation.
Undo is the reason immutability is worth the bother, and this tutorial is one of very few that makes you feel it rather than just asserting it. You store each board as a snapshot, and suddenly rewinding the game is nearly free. Most beginner React material tells you not to mutate state and leaves it there; this one gives you the payoff in the same sitting.
Anyone with JavaScript who wants React explained through building rather than reading. React's own docs say no prior React knowledge is needed, and that's accurate. Skip it if you're new to programming — the tutorial assumes comfort with arrays, map, slice and callbacks, and it will not slow down for you. Skip it too if you prefer concepts in order; react.dev's Describing the UI path exists for exactly that reader and the docs say so.
Close to the best short tutorial in front-end teaching, with one real limitation: it is a single-file toy. There's no routing, no data fetching, no effects, no forms, no styling worth the name, and no discussion of how any of this scales past one component tree. You will finish confident and then discover that a real app's hard parts — server state, async, cache invalidation — weren't in the box. Do it, then go straight to the main Learn section rather than starting a project.
Took this course? Share what you thought.
Other courses covering the same subjects.
Programming with Mosh
FreeMosh Hamedani's polished two-hour React Native intro: components, Flexbox layout and debugging. Ends before navigation, data or state…
Meta Open Source
FreeReact's official Quick Start — components, JSX, state, hooks and lifting state up, with editable sandboxes. Concepts only, no project to…
freeCodeCamp
FreefreeCodeCamp's five-library certification — Bootstrap, jQuery, Sass, React and Redux — earned by shipping five tested projects. Two sections…
Scrimba
FreeBob Ziroll's interactive React course — around 11 hours, 170+ coding challenges and six projects, edited live inside Scrimba's in-browser…
freeCodeCamp
FreefreeCodeCamp's rebuilt JavaScript certification - 1,320 test-driven steps across theory, workshops and labs, covering the DOM,…
Ilya Kantor
FreeIlya Kantor's long-maintained JavaScript textbook: language internals, the DOM, async and browser APIs, with exercises and worked solutions…