Argos: Header as a service

A component-as-a-service API that served Argos's header and navigation to every micro-frontend, so one release updated them all.

client
Argos
role
Senior front-end engineer
years
2018
platform
Ecommerce Navigation
stack
React, Node.js, Micro-frontends, Accessibility
live
www.argos.co.uk
Screenshot of Retail search & browse

Overview

Argos's site was split into micro-frontends, and each team shipped its own copy of the header and navigation. Every change meant updating packages and coordinating releases across teams.

My role

Senior front-end engineer.

What I did

  • Built a Node.js and React API that returns the header as a ready-to-render component, so every micro-frontend loads the same one.
  • Rebuilt the navigation as mobile-first, multi-level menus that follow the pointer's path, so they don't jump as you move across them.

Outcome

One release now updates the header everywhere, so changes ship faster. Product managers could also test features in the header, which lifted conversion.