# Shopify/remote-dom

Repository: https://github.com/Shopify/remote-dom
Canonical: https://ross.abutalabs.com/products/remote-dom
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-08-26T01:14:00+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 71, longevity 100
- inputs: {"age_days": 2268, "days_push": 8, "days_rel": 117, "gap_med": 0, "n_releases_24m": 64}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1330, forks 88 (observed 2026-08-28T04:04:24.210709+00:00)

## What it is
Remote DOM is a TypeScript library that synchronizes a tree of DOM elements created in a sandboxed JavaScript environment (like an iframe or Web Worker) to the real DOM in a host page. It lets untrusted or isolated code render a controlled set of UI elements on the main page without direct DOM access.

## Use cases
- render UI from sandboxed third-party code in a web app
- run React or Preact inside a web worker and display it on the main page
- build plugin/extension systems where extensions render UI safely
- isolate untrusted JavaScript off the main thread while letting it draw UI
- synchronize DOM elements between an iframe and the parent page

## When to choose
- you need to render UI from untrusted or third-party code in a controlled way
- you want to offload UI rendering from the main thread to a Web Worker
- you're building a platform where extensions embed UI into your host app
- you need framework-agnostic DOM mirroring across environments

## When to avoid
- you just need standard iframe embedding without shared UI rendering
- your app is fully trusted and doesn't need sandbox isolation
- you need pixel-perfect or complex styling that a mirrored DOM subset can't express
- you're building a native/mobile app rather than a web project

## Facets
- artifact type: library
- maturity: active
- function: ui-components, frontend-framework, security, middleware
- domain: frontend, web-development, security, developer-tools
- platform: browser
- tags: dom-synchronization, sandboxing, web-workers, iframe, plugin-ui, shopify, web-server, javascript, typescript

## Member repositories
- Shopify/remote-dom (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:24.210709+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:45:22.855141+00:00, confidence not recorded.
  - readme: https://github.com/Shopify/remote-dom (fetched 2026-08-28T04:04:24.210709+00:00, sha ab0e89b0324e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
