# facebook/componentkit

A React-inspired view framework for iOS.

Repository: https://github.com/facebook/componentkit
Canonical: https://ross.abutalabs.com/products/componentkit
Homepage: http://www.componentkit.org/
Language: Objective-C++
License: NOASSERTION
License Family: other
Last push: 2024-01-16T14:37:39+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4184, "days_push": 960, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5755, forks 573 (observed 2026-08-28T04:09:29.193536+00:00)

## What it is
ComponentKit is an Objective-C++ view framework for iOS, heavily inspired by React, that takes a functional, declarative approach to building UI. It powers Facebook's News Feed, offering asynchronous layout, flatter view hierarchies via Yoga, and fine-grained view recycling for scroll performance.

## Use cases
- build declarative iOS UIs inspired by React
- improve scroll performance in complex iOS feeds
- reduce view hierarchy depth and memory usage on iOS
- perform layout off the main UI thread
- build highly recyclable collection view feeds
- port React-style component thinking to native iOS

## When to choose
- building large, scroll-heavy iOS apps like feeds or timelines
- you want declarative, immutable-input UI with async layout
- your team values flat view hierarchies and fine-grained recycling
- you're already in the Facebook/Instagram iOS ecosystem

## When to avoid
- starting a small or simple iOS app where SwiftUI suffices
- your team is uncomfortable with Objective-C++ and C++
- you need a rapidly evolving framework with active community development
- you target platforms other than iOS

## Facets
- artifact type: framework
- maturity: maintenance
- function: ui-components, frontend-framework, animation
- domain: mobile-development, frontend, web-development
- platform: cpp
- tags: ios, objective-c, declarative-ui, react-inspired, uikit, yoga-layout, facebook, view-recycling, asynchronous-layout, swift, mobile

## Member repositories
- facebook/componentkit (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:29.193536+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-29T17:53:16.679793+00:00, confidence not recorded.
  - readme: https://github.com/facebook/componentkit (fetched 2026-08-28T04:09:29.193536+00:00, sha aab154822ff6)
  - homepage: http://www.componentkit.org/ (fetched 2026-08-29T08:48:36.310146+00:00, sha 1131bc53d202)
  - site_page: https://componentkit.org/docs/getting-started (fetched 2026-08-29T08:48:36.318920+00:00, sha e31bb785fedf)
  - site_page: https://componentkit.org/docs/infrastructure/component-hosting-view (fetched 2026-08-29T08:48:36.320937+00:00, sha 537c2f4b08ad)
- Data as of 2026-08-30T08:39:29.467469+00:00.
