# jamiebuilds/babel-react-optimize

:rocket: A Babel preset and plugins for optimizing React code.

Repository: https://github.com/jamiebuilds/babel-react-optimize
Canonical: https://ross.abutalabs.com/products/babel-react-optimize
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2017-04-06T09:10:01+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": 3791, "days_push": 3436, "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 1666, forks 28 (observed 2026-08-28T04:05:19.552335+00:00)

## What it is
A Babel preset and collection of plugins that optimize compiled React code, such as hoisting constant JSX elements, inlining elements, stripping propTypes, and converting pure class components to functions. It is intended for production builds to reduce bundle size and improve runtime performance.

## Use cases
- optimize react bundle size in production builds
- remove prop-types from production javascript
- hoist constant jsx elements out of render methods
- convert pure react class components to functions
- speed up react rendering with babel transforms

## When to choose
- you use Babel with React and want automatic production optimizations
- you want to strip propTypes and inline JSX elements in production

## When to avoid
- you use modern tooling like SWC or esbuild instead of Babel
- you need an actively maintained project (last release 2017)
- you rely on propTypes at runtime in production

## Facets
- artifact type: plugin
- maturity: abandoned
- function: compiler, build-tool, developer-tools
- domain: frontend, web-development, performance, developer-tools
- platform: -
- tags: babel-preset, react, code-optimization, production-builds, jsx, nodejs, javascript

## Member repositories
- jamiebuilds/babel-react-optimize (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:19.552335+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-30T03:42:59.628440+00:00, confidence not recorded.
  - readme: https://github.com/jamiebuilds/babel-react-optimize (fetched 2026-08-28T04:05:19.552335+00:00, sha b869384ebf84)
- Data as of 2026-08-30T08:39:29.467469+00:00.
