Ross ROSS = Recommend OSS · open-source software intelligence for agents

httptoolkit/react-reverse-portal

React reparenting :atom_symbol: Build an element once, move it anywhere observed · 2026-08-28

github.com/httptoolkit/react-reverse-portal · homepage · TypeScript · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

66/100

  • Activity 74
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2567
  • days_rel: n/a
  • days_push: 156
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1048 stars · 41 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A tiny React library implementing reverse portals, allowing rendered React elements to be reparented anywhere in the tree without re-rendering. It preserves internal component and DOM state (e.g. a playing video or an initialized editor) while moving elements between locations.

Use cases

  • move a react component elsewhere without losing its state
  • reuse an expensive-to-render editor instance in multiple places
  • persist a playing video element while relocating it in the dom
  • render modals or breadcrumbs declaratively from anywhere in the tree
  • pool expensive components and place/unplace them on demand
  • detach a react node from the dom and reattach it later without rerendering

When to choose

  • you need to reparent react-rendered DOM nodes while preserving state
  • you render costly components once and want to reuse them in different tree locations
  • you want a more flexible, declarative alternative to normal portals

When to avoid

  • your components are cheap to render and can simply be re-rendered elsewhere
  • you need SSR or non-DOM renderers, which reparenting does not support
  • you are not using React

Facets

library · maturity stable

ui-components state-management frontend web-development browser react portal reparenting dom virtual-dom nodejs

7 sources

Member repositories

RepositoryRoleHealth v2
httptoolkit/react-reverse-portalmain66

For agents

markdown · JSON · MCP: product_card(name="httptoolkit/react-reverse-portal")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem