---
title: "How we rebuilt the foundations of component instances"
description: "Figma replaced its decade-old Instance Updater, a self-contained runtime that resolved component instances and also did its own layout and variable evaluation, with Materializer, a generic framework for deriving subtrees of the document tree from feature-defined blueprints."
url: "https://swe.quest/articles/how-we-rebuilt-the-foundations-of-component-instances-eee24bf669da62cd"
canonical: "https://www.figma.com/blog/how-we-rebuilt-the-foundations-of-component-instances/"
source: "Figma"
published: "2026-03-17"
difficulty: "medium"
kind: "Case study"
reading_minutes: 9
tags: ["frontend","performance","refactoring","system-design","design-systems"]
---

# How we rebuilt the foundations of component instances

A post on [Figma](https://swe.quest/sources/figma.md), published 2026-03-17, 9 min read, Case study. Original: [https://www.figma.com/blog/how-we-rebuilt-the-foundations-of-component-instances/](https://www.figma.com/blog/how-we-rebuilt-the-foundations-of-component-instances/)

## Summary

Figma replaced its decade-old Instance Updater, a self-contained runtime that resolved component instances and also did its own layout and variable evaluation, with Materializer, a generic framework for deriving subtrees of the document tree from feature-defined blueprints. Materializer uses push-based invalidation with automatic dependency tracking recorded during materialization. It was paired with a shared runtime orchestration layer that runs systems in a predictable order and eliminates "back-dirty" feedback loops. The rewrite was validated by running old and new runtimes side by side on hundreds of thousands of production files. Variable mode changes in large files got 40–50% faster, and Materializer now underpins rich text and slots.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [Refactoring & migrations](https://swe.quest/tags/refactoring.md) (Engineering practices)
- [System design](https://swe.quest/tags/system-design.md) (Architecture & design)
- [Design systems](https://swe.quest/tags/design-systems.md) (Web & mobile)

## Prerequisites

- reactive programming
- dependency graphs and invalidation

## Keywords

Figma, Materializer, Instance Updater, component instances, slots

## Related posts

- [A tale of two parameter architectures—and how we unified them](https://swe.quest/articles/a-tale-of-two-parameter-architectures-and-how-we-unified-them-9ac87b8fbe7bae01.md): Figma · 2025-07-29 · Medium · 11 min read · Design systems, System design, Refactoring & migrations
  Figma replaced the separate architectures behind component properties (scoped, layer-level parameters) and variables (global, library-level parameters) with one parametrization system.
- [Improving performance in the layers panel](https://swe.quest/articles/improving-performance-in-the-layers-panel-1cd0d897a08e1393.md): Figma · 2026-06-11 · Medium · 8 min read · Performance engineering, Frontend, Caching, Data structures
  Figma rebuilt its layers panel to fix two problems: it computed data for every expanded node, and it recomputed everything after any change.
- [The making of the Figma Pattern Library](https://swe.quest/articles/the-making-of-the-figma-pattern-library-500fd6e5ca81c90e.md): Figma · 2024-11-21 · Medium · 9 min read · Design systems, Frontend, Accessibility
  Figma rebuilt its fragmented internal design system as the Figma Pattern Library (FPL) ahead of the UI3 redesign, with a small team of designers and engineers working in a paired style.
- [Speeding up file load times, one page at a time](https://swe.quest/articles/speeding-up-file-load-times-one-page-at-a-time-6f46ca8213350490.md): Figma · 2024-05-22 · Medium · 13 min read · Web performance, Real-time systems, Data structures, System design
  Figma extended dynamic page loading from view-only files and prototypes to editable files, cutting load times for the slowest 5% of loads by 33% and reducing client memory.
- [Illuminating dark mode](https://swe.quest/articles/illuminating-dark-mode-f998d746316f5fd8.md): Figma · 2022-07-21 · Medium · 15 min read · Design systems, CSS, Frontend, Refactoring & migrations, Accessibility
  Figma built dark mode by replacing roughly 5,100 build-time PostCSS color variables with runtime CSS custom properties based on a semantic token schema (Type | UI Element | Color role | Prominence | Interaction), so new themes only require reassigning token values.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
