Leading frontend recovery across SaaS and commerce

I led two teams through performance, security, and delivery recovery. In a separate engagement, I built a headless commerce integration.

Senior Full-Stack Web/Mobile Engineer & Head of Frontend · 2022 to 2023 · Completed engagements

Outcome: A 48% smaller web bundle, 80% fewer asset bytes, 50% faster initial load, and known mobile dependency vulnerabilities reduced from 43 to 2.

A product close to launch

One web and mobile SaaS product was nearing launch with an 8.32 MB web bundle, 21.9 MB of assets, two overlapping UI systems, outdated dependencies, an aging mobile build, and a release process that still relied heavily on manual regression.

As Head of Frontend, I led two teams totaling eight engineers and stayed hands-on in React and React Native. I coached engineers through 1:1s and training, delegated work, followed progress and performance, planned team and sprint capacity, and coordinated release, stabilization, QA, security, and performance work with the client.

A large component refactor was already underway and led by another engineer. I focused on the launch risks that remained: measuring the product, deciding what to fix first, giving each engineer clear ownership, and removing implementation blockers.

Starting with the measurements

I used bundle analysis, browser performance tools, and project reports to establish the baseline. We replaced a heavy document-viewer interaction with native browser behavior, removed a duplicate date-picker dependency, started consolidating the two UI systems, tested table-library versions instead of forcing an incompatible upgrade, lazy-loaded routes and media, and converted oversized assets.

During the measured three-week period:

  • the web bundle fell from 8.32 MB to 4.3 MB, a 48% reduction;
  • assets fell from 21.9 MB to 4.52 MB, an 80% reduction;
  • initial loading time fell 50%;
  • one oversized asset fell from 2,059 kB to 143 kB, a 93% reduction.

One layout-stability metric still needed work. I report the improvements above without treating the intervention as a win on every performance measure.

Security, testing, and releases

I reviewed browser, dependency, authentication, and API security. From that review, I planned dependency fixes, security headers, a content-security policy, end-to-end tests, and reusable component work. The mobile upgrade reduced known dependency vulnerabilities from 43 to 2.

I compared end-to-end testing tools, chose Cypress, implemented the first login flow, and prepared examples for the team. We expected this to reduce manual regression from days to minutes, but we did not measure that result, so I leave it as an expectation rather than an outcome.

We also changed the delivery routine: sprint plans reflected actual capacity, the teams coordinated daily, the backlog was reviewed regularly, and retrospectives, smoke testing, and stabilization became part of the release routine. A release was ready after those checks, not simply when feature coding stopped.

A separate commerce engagement

For a consumer commerce product, I connected Storyblok and Shopify through a custom editorial plugin, a Shopify app, and a theme extension. This let nontechnical teams edit product content without making every page request depend directly on the CMS origin.

A Cloudflare Worker cached the CMS path at the edge. In that measured scope, load on the origin server fell 99%, and response times improved 50%. These numbers come from a separate commerce engagement and are not combined with the SaaS results above.

What stays private

Client and project names, teammate identities, private URLs, screenshots, infrastructure identifiers, and detailed vulnerability findings stay private. The case separates the work I led and implemented from the refactor another engineer led. Leading two teams totaling eight engineers does not mean eight direct reports or formal HR authority.