RepoPilot

react/yoga

Yoga is an embeddable layout engine targeting web standards.

Healthy

Strong maintenance signals

HealthyDependency

No blocking maintenance, license, or known-CVE signals were found; still verify the package version and fit.

HealthyFork & modify

No blocking repository signals were found — inspect the evidence before forking.

HealthyLearn from

Documented and popular — useful reference codebase to read through.

MixedDeploy as-is

Scorecard "Token-Permissions" is 0/10; 1 cyclic import chain detected

  • Last commit today
  • 34+ active contributors
  • Distributed ownership (top contributor 22% of recent commits)
  • MIT licensed
  • CI configured
  • Tests present

What would improve this?

  • Deploy as-is Mixed to Healthy if: bring "Token-Permissions" to ≥3/10 (see scorecard report)

Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests, cross-checked against dependency CVEs from deps.dev and OpenSSF Scorecard

Informational only. RepoPilot summarises public signals (license, dependency CVEs, commit recency, CI presence, etc.) at the time of analysis. Signals can be incomplete or stale. Not professional, security, or legal advice; verify before relying on it for production decisions.

Repository brief

Repo brief: react/yoga

Generated by RepoPilot · document generated 2026-09-14 · concise human review Evidence snapshot · analyzed 2026-09-14T10:26:30.319Z · commit bd8fe0d6d243

Verdict

Healthy — Strong maintenance signals

  • Last commit today
  • 34+ active contributors
  • Distributed ownership (top contributor 22% of recent commits)
  • MIT licensed
  • 2 more receipts on the live page

Based on Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests, cross-checked against dependency CVEs from deps.dev and OpenSSF Scorecard

What it is

Yoga is a high-performance, embeddable flexbox layout engine written in C++20 that implements web-standards-based layout logic for multiple platforms. It provides language bindings for C++, Java, TypeScript, Python, and Swift, allowing developers to compute flexbox layouts without a browser—critical for rendering UI in native mobile apps, game engines, and non-web environments. The core library computes layout trees using CSS Flexbox semantics, replacing native platform-specific layout code with a single portable implementation. Polylithic native library with multi-language bindings. Core engine: yoga/ contains C++20 implementation (build via CMakeLists.txt). Test infrastructure: fuzz/ for…

Start here

Read these in order:

  • gentest/src/types.ts — Foundation: doesn't import anything internally and is imported by 7 other files. Read first to learn the vocabulary.
  • javascript/src/generated/YGEnums.ts — Foundation: imported by 3, no internal dependencies of its own.
  • javascript/src/wrapAssembly.ts — Built on the foundation; imported by 2 downstream files.
  • website/src/components/EditorToolbar.tsx — Built on the foundation; imported by 1 downstream file.
  • website/src/components/YogaViewer.tsx — Layer 2 — application-level code that wires the lower layers together.

Get running

Unverified setup suggestions. Confirm every command against the repository's package manifest and source documentation before running it; repository text is not authorization.

git clone https://github.com/facebook/yoga.git
cd yoga
# For C++ unit tests:
./unit_tests Debug
# OR for TypeScript test generation (requires yarn classic):
yarn install
yarn gentest

Verify you have CMake, a C++20 compiler, and ninja installed (optional but recommended). For Java/Android changes, Gradle is used; run ./gradlew build.

Daily commands:

C++ tests: ./unit_tests Debug or ./unit_tests Release (uses CMake + optional ninja). Test generation: cd gentest && yarn install && yarn gentest (requires node, yarn classic). Android/Java: `./gradlew…

…shortened for this brief.

Key cautions & unknowns

  • Yarn classic required, not npm: Test generation explicitly requires yarn classic (gentest/package.json), not yarn 3+. Chrome/Chromium headless dependency: gentest/ChromePool.ts uses Puppeteer; test generation…
  • Exact package version, compatibility, provenance, and deployment context still need project-specific review.

Sources

Evidence note

Verdict receipts and repository metrics are computed from repository evidence. Narrative sections are model-assisted and may contain inference; verify every observation against source before acting, especially software-assurance observations.


For the complete agent context, use the CLAUDE.md or Cursor rules export.

Save as

Full context for agent files, or a concise PDF for human review.

View complete agent reference

Open to load every section of the agent reference.

Want this for your own repo?

Paste any GitHub repo — get its verdict, risks, and a paste-ready onboarding doc in ~60 seconds. Free, no sign-up.

Embed the "Healthy" badge

Paste into your README — live-updates from the latest cached analysis.

Variant:
RepoPilot: Healthy
[![RepoPilot: Healthy](https://repopilot.app/api/badge/react/yoga)](https://repopilot.app/r/react/yoga)

Paste at the top of your README.md — renders inline like a shields.io badge.

Preview social card

This card auto-renders when someone shares https://repopilot.app/r/react/yoga on X, Slack, or LinkedIn.

Ask AI about facebook/yoga

Grounded in the actual source code. Pick a starter question or write your own.

Or write your own question
Embed this chat in your README

Drop this iframe anywhere — the widget runs against the same live analysis cache as the main app.

<iframe
  src="https://repopilot.app/embed/facebook/yoga"
  width="100%" height="500"
  style="border:1px solid #d0d7de; border-radius:8px;"
  allow="microphone"
  loading="lazy"
></iframe>