Silpo
The online store of Ukraine’s second‑largest food retailer by revenue, with ~4M visits a month.
- Role
- Senior Frontend Engineer
- When
- Oct 2024 – Sep 2026
- Team
- ~15 people
- Work format
- In‑house, remote
- Stack
- Angular
- Signals
- TypeScript
- RxJS
- NGXS
- Nx
- Module Federation
- SSR
- Tailwind CSS
- Jest
Results
Google Core Web Vitals
From “poor” to “good”
LCP over 5 s to under 2.5 s
CLS over 0.25 to ~0
Homepage content
Days to minutes
New content days to minutes
Extracted the catalog into a micro-frontend that deploys independently of the main app
- Deploy time
- More than 2× fasterUnder 30 minutes, from over an hour
- My part
- Owner, delivered most of it
- Duration
- About 7 months
- Scope
- Main page types, 30+ Nx libraries
The problem
The silpo.ua storefront is an Angular app in an Nx monorepo that already loaded other micro-frontends with Module Federation. The catalog, the store’s core, was still built into the main app, so every catalog change, however small, waited for the whole app to build and deploy.


What I did
Planned the migration
Our architect set the goal of a standalone catalog micro-frontend, and I volunteered to own the initiative. Before moving any code, I mapped the catalog’s dependencies and turned the migration into a sequenced, feature-by-feature plan, which I presented to the team. We prioritized it as a team initiative and reserved time for it in every sprint.
Guided the team
I reviewed the smaller moves teammates took on and wrote them a migration playbook: the target architecture, the goals and what to watch out for.
Designed the new structure
Along the way, I refactored the catalog’s features and designed its new Nx structure around clear areas of responsibility. Each library has one job, features stay separate from data access and utilities, and the host talks to the catalog only through what the catalog exposes. That made later catalog work quicker to understand and easier to change.
Before: the catalog was built into the main app, so a catalog change rebuilt and deployed the whole app, over an hour per deploy. After: the catalog is its own micro-frontend that deploys on its own, under 30 minutes per deploy. The host app, the rest of silpo.ua, loads it at runtime in the browser and on the server, without a deploy of its own.
What made it hard
Shared state
Much of the catalog’s data was also used outside the catalog, so its state couldn’t move with the pages without breaking other parts of the site.
Components rendered elsewhere
Several catalog-owned components appear in other parts of the site, such as the header. Each had to be exposed by the catalog and loaded through remote loaders at runtime, in the browser and on the server, without breaking SSR.
Tangled dependencies
Imports crossed Nx module boundaries in many places, often hidden behind lint exceptions, so extracting one feature tended to pull others with it.
A moving codebase
Teammates kept shipping features in the same modules throughout, which meant merge conflicts along the way.
What it gave me
Module Federation and Nx at production scale
Hands-on experience with runtime loading under SSR, components rendered across apps, and library boundaries in a large monorepo.
A narrow contract between host and catalog
The host knows only the catalog’s routes and a few exposed components, so everything else can change without touching the host.
Leading a long initiative
Keeping a seven-month migration moving while the team kept shipping taught me to break it into small, safe steps and to make it easy for others to join in.
Took real-user Core Web Vitals, LCP and CLS, from poor to good
- LCP, 75th percentile
- Under 2.5 sfrom over 5 s
- CLS, 75th percentile
- ~0from over 0.25
- My part
- Most of the major fixes
- Duration
- Over a year
- Scope
- Catalog and product pages
The problem
Our team owned the catalog and product pages, including their Core Web Vitals and server-side rendering. On those pages, real-user LCP (how long the main content takes to appear) was over 5 s and CLS (how much the layout jumps) over 0.25 at the 75th percentile, both in Google’s “poor” range, which hurts search ranking and conversion.
What I did
Gave each block its own skeleton
Most catalog pages shared one component that showed a single skeleton for the whole page, so real blocks pushed each other down as their data arrived. I replaced it with an independent skeleton for each block, sized like the real content, and fixed the remaining layout shifts on catalog pages.
Fixed a layout shift no one could explain
From day one, pages shifted while rendering after load, and no one knew why. I traced it to RxAngular’s
*rxLetand*rxIfdirectives: they render asynchronously, and our view model, one object built from several store selectors, emitted only once every selector had a value. Blocks rendered late, so the content below collapsed upward. Replacing them with native@ifand@letand moving the view model to a signal-based approach fixed it.Sped up the product page
I worked through what delayed the main product image. Product data is rendered on the server, and the server injects a
<link rel="preload">for the main image withfetchpriority="high"andimagesrcset, so the browser starts downloading the right size before any JavaScript runs. The gallery is a<picture>with a WebP source,srcsetandsizes: the first image loads eagerly at high priority, the rest lazily. Critical CSS is inlined, so the full stylesheet no longer blocks the first paint. With the team, we also moved the banners to WebP.Brought in real-user monitoring
In a research spike, I compared four real-user monitoring platforms, presented them to the team, and we adopted the one I recommended. It broke the data down by page and device and pointed to the elements behind slow LCP and layout shifts. From then on, we saw the effect of each fix the day after release, not weeks later.
Before: one skeleton covered the whole page. Real blocks arrived at different heights, so the content below them jumped. After: the title, filters, sorting, product list and pagination each have their own skeleton, sized like the real block, and each swaps to real content in place.
What made it hard
Slow feedback at first
Before our own real-user monitoring, we relied on PageSpeed Insights. Its field data comes from real Chrome users, but it reports the 75th percentile over the last 28 days, so each fix took weeks to show up. Its Lighthouse lab test was quick to run, but it simulated one device and network, varied from run to run and missed what real visitors saw.
A layout that kept changing
A/B tests and interface elements that appeared only on some pages or for some users meant one page could load in several layouts. Every placeholder was a trade-off: reserve space and risk an empty gap, or reserve none and risk a shift.
A small slice of each sprint
Performance shared every sprint with feature work, so we moved in small, steady steps: find, analyze, fix, measure.
What it gave me
Core Web Vitals in an SSR Angular app
Tracing slow paints and layout shifts down to rendering, hydration and the libraries behind them.
Making performance a product priority
I learned to explain a technical cause in terms of search ranking and conversion, so the product owner, business analyst and SEO specialists could weigh each fix against feature work. Reviews every two weeks turned the frontend team’s hypotheses into a roadmap everyone backed.
Also at Silpo
Config-driven homepage
Moved the homepage to config, so the business adds carousels and other content in minutes instead of days. Lazy loading keeps the first load light on mobile.
Test coverage and code quality
With the team, raised test coverage from ~40% to an enforced 80% minimum and cut SonarQube high-severity issues from 600+ to under 50, so production hotfixes became rarer.
Accessibility
Built accessibility into new features and tested them with screen readers. After navigation, focus moves to the new page’s heading and LiveAnnouncer reads it out, so shoppers who use a keyboard or screen reader can use the catalog and the address selection modal.