# sokra/rawact

[POC] A babel plugin which compiles React.js components into native DOM instructions to eliminate the need for the react library at runtime.

Repository: https://github.com/sokra/rawact
Canonical: https://ross.abutalabs.com/products/rawact
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2019-02-25T02:09:35+00:00

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

## Adoption (not part of the score)
Stars 2508, forks 45 (observed 2026-08-28T04:06:57.273075+00:00)

## What it is
A Babel plugin that compiles React.js components into native DOM instructions, eliminating the need for the react and react-dom libraries at runtime. It is explicitly a proof of concept and not intended for production use.

## Use cases
- reduce JavaScript bundle size by removing React from runtime
- speed up initial page load for code-split apps
- compile React components into WebComponents without shipping React
- optimize UIs with many frequently changing component instances
- build interactive UIs for low-end devices

## When to choose
- your component code is smaller than the React library itself
- initial rendering performance matters more than full React features
- you want to ship React-style components without the React runtime

## When to avoid
- you need full React features like scheduling, incremental rendering, or event handling
- you want a production-ready, maintained tool
- your app relies heavily on the React ecosystem and third-party components

## Facets
- artifact type: library
- maturity: experimental
- function: build-tool, compiler, frontend-framework
- domain: web-development, frontend, developer-tools
- platform: -
- tags: babel-plugin, react, dom, proof-of-concept, transpilation, bundle-size, nodejs, web-server

## Member repositories
- sokra/rawact (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:57.273075+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-30T02:26:32.659137+00:00, confidence not recorded.
  - readme: https://github.com/sokra/rawact (fetched 2026-08-28T04:06:57.273075+00:00, sha 816fc73132ac)
- Data as of 2026-08-30T08:39:29.467469+00:00.
