React developer roadmap
6 stages · 32 topics
React is a JavaScript library for building user interfaces out of small, reusable components. It is one of the most widely used ways to build modern websites and web apps.
Before React, make sure your JavaScript is solid. The stages below then go from your first component to a deployed app. Our React learning hub collects guides for several of them.
Stage 1: JavaScript you need first
React is mostly JavaScript, so know the language well.
- Arrow functions
- Destructuring and spread
- Array methods: map, filter, reduce
- Modules
- Promises and async/await
- Fetching data
Stage 2: Components and JSX
Describe the screen as small pieces.
- JSX syntax
- Props
- Children
- Lists and keys
- Conditional rendering
- Handling events
Stage 3: State and hooks
Make components remember and react.
- useState
- useEffect
- useRef
- useMemo and useCallback
- Custom hooks
- Updating objects and arrays in state
Stage 4: Sharing data
Move data between components without a mess.
- Lifting state up
- Context API
- useReducer
- When to reach for a state library
Stage 5: Routing, forms and data
Build real pages and talk to an API.
- React Router
- Controlled forms and validation
- Fetching and caching data
- Loading and error states
Stage 6: Testing, performance and deployment
Make it reliable, fast and live.
- Component tests
- Avoiding needless re-renders
- Code splitting
- Environment variables
- Building and deploying
- Next.js as a next step
Free tools for this path
Small jobs that come up while you learn. They run in your browser.
- JSON Formatter & ValidatorFormat, validate and minify JSON in your browser. Shows the exact line and column of any error.
- JavaScript Formatter & MinifierBeautify JavaScript with clean indentation, or minify it with a real compressor. Shows syntax errors with line and column.
- CSS Formatter & MinifierBeautify CSS with consistent indentation, or minify it to reduce size. Reports CSS syntax problems. Runs in your browser.
- Color Converter & Contrast CheckerConvert colours between HEX, RGB, HSL, HSV, HWB, CMYK and OKLCH, check WCAG contrast and make tints and shades.
- JSON to TypeScript ConverterTurn any JSON into TypeScript interfaces or types, with optional keys, unions and nested types worked out for you.
- Regex TesterTest JavaScript regular expressions live: see matches highlighted, capture groups and a replace preview.
- Text Diff Checker (Compare Two Texts)Compare two pieces of text or code side by side and see added, removed and changed lines, with a copyable patch.
- Image Compressor & ConverterMake pictures smaller and convert between JPEG, WebP and PNG, with resizing, in your browser without uploading them.
Common questions
Do I need to know JavaScript before React?
Yes. If you cannot yet use array methods, destructuring and async/await comfortably, spend more time there first. React will feel much easier.
React or Vue: which should I learn?
Either is a good choice. React has more jobs and libraries; Vue is often seen as gentler to start with. Our Vue and React guides compare them.
Should I learn Next.js?
After the basics of React, yes, it is a common next step. It adds routing, server rendering and a build setup on top of React.
More roadmaps
- Web fundamentalsHTML, CSS, JavaScript and Git: the base every web developer needs.6 stages · 30 topics
- Node.js backendFrom JavaScript to a secure API running on a server.6 stages · 35 topics
- Vue.js frontendVue 3, the Composition API, routing and state.6 stages · 29 topics
- Flutter mobileDart, widgets, state management and publishing an app.6 stages · 32 topics
- PythonFrom first program to web, data or automation.6 stages · 37 topics
- DevOpsLinux, Docker, CI/CD and the cloud, in order.7 stages · 35 topics