- 53lessons
- 3guided projects
- 8module checkpoints
- 2.5hours of video
What you'll learn
- Define a three-tier design-token system from one validated source file, generate CSS custom properties and TypeScript names, support theming and enforce contrast and literal-usage rules automatically.
- Classify state by owner and lifetime, colocate it, derive instead of duplicating, and place server data behind a typed access layer with caching, invalidation and optimistic updates.
- Express architecture as enforceable dependency rules: layers, public module surfaces, no cycles, ports and adapters, workspace packages, and a reasoned monolith-versus-micro-frontend decision.
- Allocate tests to levels by risk, write behavioural component and data-layer tests with fakes, and run architecture rules as tests.
- Plan and execute an incremental migration with characterisation tests, slices, ratchets and rollback, and document decisions in ADRs scored against a rubric.
Skills you'll gain
- Design tokens
- Component responsibilities
- State
- data boundaries
- Accessibility contracts
- Dependency structure
- Testing strategy
- Performance budgets
- Architecture migration
Tools you'll use
- React
- TypeScript
- Vite
- Vitest
- Testing Library
- Node.js
- npm scripts
Details to know
- Certificate on completionIssued after your final project is reviewed
- 8 module checkpointsA quiz and a practical task close each module
- Self-pacedStudy any time; your progress is saved
How every lesson works
Each lesson follows the same four steps, so you always know what comes next.
- 01
Watch & Learn
A short animated video explains one idea at a time.
- 02
Guided Practice
Work through an example step by step and check the result.
- 03
Quiz & Challenge
Short questions check the idea has landed before you move on.
- 04
Mini Project
Build something useful from a project brief.
Learn at your own pace
This is a self-paced course. There are no live classes and no fixed timetable.
- Start any timeStudy when it suits you. Lessons are short, so they fit around work or college.
- Pick up where you left offYour progress is saved to your account.
- Ask when you're stuckUse Ask Mentor inside the learning platform.
Your path in 3 phases
Each phase ends with something you have built and checked.
- 01
Modules 1 to 3
Design tokens to State and data boundaries
Define a layered token system (primitive, semantic, component), generate typed CSS custom properties from one source file, support theming, and govern change with automated checks.
You build: Guided project “ShipDesk foundations: tokens, components and state boundaries”: Tiered token source, generated CSS and name union, and a dark theme made by token edits only.
- 02
Modules 4 to 6
Accessibility contracts to Testing strategy
Specify and test accessible role, name, state, keyboard and focus behaviour as part of each component's contract, and know which accessibility checks automation can and cannot make.
You build: Guided project “ShipDesk guardrails: accessibility, dependency rules and tests”: Role-and-name fixes, roving-tabindex Tabs and a focus-managed ConfirmDialog with tests.
- 03
Modules 7 to 8
Performance budgets to Architecture migration
Define and enforce measurable performance budgets, split code by route with failure handling, contain errors with boundaries, report errors and field metrics through a defined contract, and decide when rendering optimisation is justified.
You build: Guided project “ShipDesk delivery: budgets, resilience and migration”: Size script with fixtures, lazy routes below the initial-chunk budget, and a baseline comparison.
Full curriculum
8 modules and 53 lessons, 31 to 52 hours of study
01Design tokens6 lessons, 3 to 4 hours
Lessons
- Three token tiers and the alias rule
- A single token source file in the W3C community format
- Generating CSS custom properties and TypeScript names
- Theming by redefining semantic tokens
- Contrast and target-size rules as token constraints
- Governing token change with usage scans and deprecation
After this module you can
- Classify a flat list of 24 style values into primitive, semantic and component tokens and state which tier a component may reference.
- Author a token source file with `$value`, `$type` and group nesting and explain what each field does and which are optional.
- Write a scan that finds raw colour literals outside the token layer and a deprecation workflow for removing a token safely.
02Component responsibilities7 lessons, 3 to 5 hours
Lessons
- Layers of components and what each may know
- Prop APIs that make impossible states unrepresentable
- Composition over configuration with children and slots
- Compound components that share implicit state
- The controlled and uncontrolled contract
- Escape hatches: refs, rest props and class names
- A written component contract and API review
After this module you can
- Sort ten components of a sample screen into primitive, pattern and feature layers and state what data and side effects each layer may touch.
- Redesign a component whose boolean props allow contradictory combinations into a discriminated-union prop type.
- Write a one-page contract for a component and run an API review checklist against it.
03State and data boundaries7 lessons, 3 to 5 hours
Lessons
- Classifying state by owner and lifetime
- Colocation, lifting and derived values
- Reducers and context as a feature boundary
- The URL as state for filters and pagination
- A typed data-access layer with DTO mapping
- Server-state caching: keys, freshness and deduplication
- Mutations, optimistic updates and invalidation
After this module you can
- Fill an ownership table for 12 pieces of state in a sample screen, naming owner, lifetime and the right storage for each.
- Remove a redundant state variable by deriving it during render and lift a shared value only as far as its nearest common parent.
- Write a mutation that updates the cache optimistically, rolls back on failure and invalidates affected keys.
04Accessibility contracts6 lessons, 3 to 4 hours
Lessons
- The role, name and state contract
- Keyboard operation and focus order
- Composite widgets and roving tabindex
- Focus management for dialogs and route changes
- Accessible names, errors and live status updates
- Testing accessibility contracts in CI
After this module you can
- State for a custom widget its role, accessible name and states, and choose a native element when one exists.
- Verify a component is fully operable by keyboard in a logical order and show focus visibly.
- Write accessibility tests using role queries and an automated rule engine and state what automation misses.
05Dependency structure7 lessons, 3 to 5 hours
Lessons
- Dependency direction and the layer rule
- Public module surfaces and barrel files
- Enforcing boundaries with a dependency checker
- Finding and breaking circular dependencies
- Dependency inversion with ports and adapters
- Monorepo packages and workspace boundaries
- Modular monolith versus micro-frontends: a decision
After this module you can
- Write a layer map for an application and a rule stating which layer may import which, with a justification for each forbidden edge.
- Give each module an explicit public entry and forbid deep imports from outside it.
- Compare team, deployment and runtime-cost trade-offs and write a decision for a stated organisation.
06Testing strategy6 lessons, 3 to 4 hours
Lessons
- Allocating tests to levels by risk
- Component contract tests that query like a user
- Testing state and data layers with fakes
- Architecture tests: boundaries and budgets as assertions
- Stories, interaction and visual tests: when each earns its cost
- Flaky tests, coverage and the end-to-end handoff
After this module you can
- Map ten named risks in an application to the cheapest test level that can catch them and justify each choice.
- Write contract tests for one component using role-and-name queries and user events and no implementation details.
- Classify a flaky test by cause, fix it, and set coverage as a signal with an explicit non-goal.
07Performance budgets7 lessons, 3 to 5 hours
Lessons
- Writing a performance budget with measurable limits
- Measuring bundle size from build output
- Route-level code splitting with lazy loading
- Error boundaries and chunk-load failure recovery
- An error and metric reporting contract
- Render cost: measure before memoising
- Enforcing budgets and regressions in CI
After this module you can
- Write a budget with quantity-based, milestone and rule-based limits, each tied to a measurement method and a tolerance.
- Write a script that measures gzip size per output file from a production build and compares it with the budget with a tolerance.
- Wire budget checks into a pipeline with a baseline, tolerance and a bisect-friendly report.
08Architecture migration7 lessons, 3 to 5 hours
Lessons
- Inventorying a legacy front end with measurable facts
- Characterisation tests before moving code
- Strangler slices and seams
- Ratcheting adoption of tokens and boundaries
- Migration risk, feature flags and rollback
- Architecture decision records and living documentation
- Assembling and defending the architecture package
After this module you can
- Produce an inventory of a legacy codebase listing modules, dependency violations, raw literals, untested areas and bundle sizes as numbers.
- Capture the current behaviour of legacy components in contract-style tests before changing them.
- Assemble contracts, rules, tests, budgets, migration plan and ADRs into one reviewable package and verify its internal consistency.
What you'll build
3 guided projects along the way, then a final project.
ShipDesk foundations: tokens, components and state boundaries
after module 3ShipDesk guardrails: accessibility, dependency rules and tests
after module 6ShipDesk delivery: budgets, resilience and migration
after module 8
Final project
Documented component architecture with contract tests and migration plan. Choose one option: Architecture package for a logistics dashboard (ShipDesk); Architecture package for a clinic-appointment portal; Architecture package for a classroom-resource library.
What you submit
Source and artifact submission: repository with lockfile, README with setup, one-command verification script, generated files reproducible.
How it's reviewed
Trainer review against the rubric: Layering and boundaries: dependency rules exist, cover at least six forbidden edges, and every rule has a failing fixture (20 percent).
Where you'll use it
- Define design tokens and component contracts so a growing team builds consistent screens.
- Plan a step-by-step migration of an old component structure with tests and size budgets as guardrails.
Roles that use these skills
- Front-end architect
- Senior front-end engineer
- Design system engineer
Earn the certificate by building, not watching
- Complete the lessons and pass each module checkpoint.
- Build your final project and demonstrate it.
- OUTLEARN reviews your project and issues your certificate. It is not issued automatically.
Frequently asked questions
What do I need before I start?
Prerequisite courses: React Fundamentals, TypeScript Programming, Software Testing and Test-Driven Development. Prerequisite courses: React Fundamentals, TypeScript Programming and Software Testing and Test-Driven Development, or demonstrated equivalent skill. You can write function components with state, props, effects, lists and forms in React; read and write TypeScript types including unions and generics; and write a unit test with an assertion library. Diagnostic check (ungraded): in a fresh Vite React TypeScript project, build a filterable list component with a typed props interface, fetch its data in an effect with cleanup, and write two tests, one pure-function test and one rendered-behaviour test, in under two hours without help. If that is difficult, finish the prerequisite courses first. Primary stack for every exercise: React + TypeScript + Vite + Vitest + Testing Library; other frameworks (Vue, Svelte, Next.js, Nuxt, Web Components) are contrasted only in notes.
Do I get a certificate?
We do not issue certificates until you successfully build and demonstrate your live project. Module and final assessments are planned; the module pass rule is proposed, not final. Certificates are issued by OUTLEARN staff; nothing is issued automatically.
Where do the labs run?
Local author workstation: Node.js LTS, a pinned lockfile, Vite, React, TypeScript, Vitest with a DOM environment and Testing Library; checks run by npm scripts (`npm run typecheck`, `npm test`, `npm run check:deps`, `npm run build`, `npm run check:size`). Vitest docs (fetched 2026-10-12) state Node >= 22.12.0 and Vite >= 6.4.0;
Be first in when Frontend Architecture and Component Engineering opens
Email us and we will tell you as soon as enrolment opens.
Notify me when it opens


