Skip to content

Frontend Developer roadmap

Frontend Developer roadmap for 5+ years experience

Lead frontend architecture

At 5+ years you are evaluated on judgement: how you design large client applications, make trade-offs, raise team quality and influence beyond your own code. Frontend system design and leadership stories carry the most weight.

YOUR ROADMAP

What to study, step by step.

5 steps. Each topic says what to learn and has a button to practise it.

  • Must doInterviews ask this. Do not skip.
  • ImportantDo it if you can.
  • OptionalOnly if you have extra time.
Not started yetYou finished 0 of 16 topics (0 of 11 must-do)

Saved on this device. No login needed.

Jump to a step:

  1. Step 1 · Weeks 1–4 (4 weeks)

    Frontend system design

    Design large client applications with clear trade-offs.
    Must do

    Frontend system design

    Design a large client application: components, data flow, API contract, caching, rendering and performance.

    What to learn
    • A framework: requirements, components, data model, API, optimisations
    • Classic prompts: news feed, autocomplete, chat, video player, dashboard, collaborative editor
    • Pagination, normalised client cache and optimistic UI
    • Offline support, real-time updates (WebSocket / SSE) and retries
    • Observability: error tracking, RUM and feature flags

    Practise news feed, collaborative editor, video player and analytics dashboard.

    Must do

    Rendering strategies & Next.js

    Choose between CSR, SSR, SSG, ISR and server components based on SEO, freshness and cost.

    What to learn
    • CSR vs SSR vs SSG vs ISR trade-offs
    • Server components and the client boundary
    • Routing, layouts and data fetching in the App Router
    • Caching and revalidation
    • Hydration errors and how to avoid them

    Defend a rendering strategy for SEO, freshness, cost and team skills.

    Must do

    Web performance & Core Web Vitals

    Measure first, then fix the loading, rendering and interaction costs users actually feel.

    What to learn
    • LCP, INP and CLS: what they measure and how to improve them
    • Code splitting, lazy loading and bundle analysis
    • Image formats, responsive images and font loading
    • Virtualising long lists
    • Lighthouse and the Performance panel

    Talk about performance budgets and how you enforce them.

    Must do

    AI for frontend work

    AI assistants are now part of everyday frontend work, so you need to know how they work, where they go wrong and how to check what they produce.

    What to learn
    • How LLMs work at a high level: tokens, context window and why they hallucinate
    • Prompting well: give context, constraints and examples, then iterate
    • Using AI coding assistants for components and tests, then reviewing the diff line by line
    • Calling an LLM through your backend and streaming responses into the UI, never exposing API keys in the browser
    • Prompt injection and unsafe rendering: treat model output as untrusted content
    • Responsible use: no confidential code or user data in public tools, and follow your company policy

    Cover AI features in design rounds: latency, streaming, cost, failure states and guarding against injection. Have a view on how your team adopts AI tools safely.

    You are done with this step when:Four full designs delivered aloud in 45 minutes each, covering API, cache, rendering and observability.

  2. Step 2 · Weeks 5–6 (2 weeks)

    Architecture at scale

    Explain how frontend scales across teams, not just screens.
    Must do

    Design systems & frontend architecture

    Scale UI across teams with shared components, tokens, monorepos and clear ownership.

    What to learn
    • Component APIs, tokens and theming
    • Monorepos and shared packages
    • Micro-frontends: when they help and what they cost
    • Versioning, deprecation and migrations
    • Documentation and adoption
    Important

    State management & data fetching

    Separate server cache from client state, and choose the lightest tool that works.

    What to learn
    • Context and its re-render cost
    • Redux Toolkit or Zustand for shared client state
    • React Query / SWR for server state, caching and refetching
    • Optimistic updates and error states
    • Normalising nested API data

    Draw the boundary between server cache, URL state and client state.

    Must do

    Frontend testing

    Test behaviour, not implementation, and know which layer catches which bug.

    What to learn
    • Unit tests with Jest or Vitest
    • Component tests with React Testing Library
    • End-to-end tests with Playwright or Cypress
    • Mocking network calls
    • Testing pyramid and CI quality gates

    Testing strategy and CI gates for a large codebase.

    You are done with this step when:A one-page architecture write-up of a system you built, with what you would change.

  3. Step 3 · Weeks 7–8 (2 weeks)

    Reliability, security & accessibility

    Show you make quality the default for a whole team.
    Must do

    Frontend security

    Prevent the attacks that start in the browser.

    What to learn
    • XSS and safe rendering of user content
    • CSRF and SameSite cookies
    • Content Security Policy
    • Clickjacking and iframe sandboxing
    • Storing tokens safely
    Must do

    Accessibility (a11y)

    Accessible UIs are better UIs, and senior roles are expected to make them the default.

    What to learn
    • Semantic HTML before ARIA
    • Keyboard navigation and focus management
    • Accessible names, labels and live regions
    • Colour contrast and WCAG 2.2 AA
    • Testing with a screen reader and axe

    Organisation-level: audits, linting, WCAG 2.2 AA as a release gate.

    Important

    HTTP, APIs & auth for frontend

    Understand what happens between the browser and the server, because most production bugs live there.

    What to learn
    • HTTP methods, status codes and headers
    • REST vs GraphQL from the client side
    • CORS and preflight requests
    • Cookies vs tokens, sessions and refresh flows
    • Browser and CDN caching (Cache-Control, ETag)

    CDNs, caching headers and HTTP/2 and HTTP/3 basics.

    You are done with this step when:You can explain how you would roll out CSP and an accessibility standard across a product.

  4. Step 4 · Weeks 9–10 (2 weeks)

    Hands-on sharpness

    Senior loops at many Indian product companies still include coding.
    Must do

    React internals & performance

    Explain why a component re-renders and how to fix it without sprinkling memo everywhere.

    What to learn
    • Reconciliation, keys and the virtual DOM
    • useMemo, useCallback, React.memo and when they help
    • useRef, useLayoutEffect and imperative escape hatches
    • Suspense, lazy loading and concurrent rendering
    • Profiling with React DevTools

    Concurrent rendering, reconciliation and profiling a slow page.

    Important

    Machine coding rounds

    Build a working UI component in 60–90 minutes with clean structure, state and edge cases.

    What to learn
    • Clarify requirements and sketch the component tree first
    • Common asks: autocomplete, carousel, tabs, modal, star rating, nested comments, kanban
    • State shape, derived state and side effects
    • Edge cases: empty, loading, error and keyboard use
    • Leave time to explain trade-offs and what you would add

    Expect a harder problem and questions about extensibility.

    Important

    JavaScript implementations & polyfills

    Writing core utilities from scratch proves you understand the language, and Indian product companies ask for them often.

    What to learn
    • debounce and throttle (with leading / trailing options)
    • Array.prototype.map / filter / reduce polyfills
    • Function.prototype.bind and currying
    • Promise.all and a basic Promise implementation
    • Deep clone, flatten and an event emitter

    You are done with this step when:One timed machine-coding problem built with tests and an extensibility discussion.

  5. Step 5 · Weeks 11–12 (2 weeks)

    Leadership & behavioral

    Tell stories of influence, ownership and growing others.
    Must do

    Technical leadership

    Show how you raise the quality and speed of a team, not just your own output.

    What to learn
    • Writing RFCs and design docs
    • Mentoring and code-review culture
    • Planning migrations and paying down tech debt
    • Working with product, design and backend leads
    • Hiring and interviewing
    Must do

    Behavioral & project stories

    Explain what you built, the decisions you made and what you learned, in a structured way.

    What to learn
    • STAR structure for answers
    • A 2-minute walkthrough of your best project
    • Stories for conflict, failure, deadlines and feedback
    • Why this company and this role

    Conflict with stakeholders, a failed project and a hard trade-off.

    Optional

    Data structures & algorithms

    Online assessments and at least one round still test problem solving, mostly at easy-to-medium level.

    What to learn
    • Arrays, strings and hash maps
    • Two pointers and sliding window
    • Stacks, queues and recursion
    • Trees and BFS / DFS (the DOM is a tree)
    • Big-O for time and space

    Some companies still run one DSA round; keep about 50 mediums warm.

    You are done with this step when:Six leadership stories with measurable outcomes, rehearsed in a mock interview.

  6. You are interview-ready

    Now tailor your resume to each job and start applying.

SAVE YOUR TIME

Don't waste time on these (yet).

Popular topics that will not help your interviews at this stage.

  • Grinding 300+ LeetCode problems

    Senior frontend loops weigh design and depth. Keeping around 50 mediums warm is enough for most companies.

  • Fresher-style output puzzles

    You will get deeper "why" questions instead. Revise concepts, not trick snippets.

  • Learning a new framework for the interview

    Interviewers want depth and judgement in the stack you know.

  • Backend distributed-systems theory

    Know API, caching and CDN boundaries. Consensus algorithms and database sharding belong to backend loops.

  • Collecting certifications

    They carry little weight for senior frontend roles compared with shipped architecture and impact.

THE INTERVIEW

What happens in the interview.

A typical set of rounds at this stage. Small startups may do fewer.

  1. 1

    Frontend system design

    45–60 minutes designing a large client application end to end.

  2. 2

    Coding or machine coding

    A harder component build, or a code-review exercise on an existing codebase.

  3. 3

    Architecture deep dive

    A walkthrough of a system you led: decisions, trade-offs and what went wrong.

  4. 4

    Leadership & behavioral

    Mentoring, conflict, influence without authority and delivery under ambiguity.

  5. 5

    Hiring manager / bar raiser

    Scope, impact and how you would shape the team.

WHAT INTERVIEWS ASK MOST

Where to spend your time

Share of interview time, roughly, for frontend developer roles at this stage.

  • Frontend system design35%
  • JavaScript & React depth20%
  • Behavioral & leadership20%
  • Machine coding15%
  • DSA & problem solving10%

FOR YOUR RESUME

What to show on your resume.

  • A migration or architecture change you led, with adoption and outcome metrics
  • Design-system or platform work used by multiple teams
  • Business metrics moved by frontend work: conversion, retention, Core Web Vitals
  • People you mentored, RFCs you wrote and hiring loops you ran

NOT YOUR LEVEL?

Pick a different level.

A LITTLE MORE CLARITY

Frontend Developer roadmap: common questions

What is asked in a senior frontend interview?

Mostly frontend system design, an architecture deep dive into your past work, and leadership questions. Many Indian product companies also keep one coding or machine-coding round.

How should I prepare for frontend system design?

Use a repeatable structure: requirements, component architecture, data model and API, client caching, rendering strategy, performance, accessibility and observability. Practise aloud against a clock.

Do senior frontend engineers still need DSA?

Less than before. Keep medium-level problem solving warm for the companies that include it, and put most of your time into design and leadership.

OTHER JOBS

All roadmaps

BUILD YOUR NEXT OPPORTUNITY

Start step 1 today.

Practise coding, system design and interview questions for free. Sign in to save progress on any device.

Get Started Free