# wix-incubator/react-templates

Light weight templates for react

Repository: https://github.com/wix-incubator/react-templates
Canonical: https://ross.abutalabs.com/products/react-templates
Homepage: https://wix.github.io/react-templates
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2023-06-28T11:49:13+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4314, "days_push": 1162, "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 2809, forks 204 (observed 2026-08-28T04:07:23.611195+00:00)

## What it is
React Templates is a lightweight precompiler that converts .rt files (an extended HTML format) into plain JavaScript functions returning React virtual DOM, with no runtime dependencies. It offers an HTML-like alternative to JSX with directives like rt-if, rt-repeat, and rt-scope, supporting AMD, CommonJS, ES6, TypeScript, and globals output.

## Use cases
- separate HTML markup from React component logic
- compile HTML-like templates to React code without JSX
- precompile .rt template files in a webpack or gulp build
- write React views using plain HTML syntax
- avoid JSX for components with lots of markup

## When to choose
- your team prefers HTML-style templates over JSX
- you want zero runtime template libraries and precompiled React code
- you need clear separation of presentation and logic in React components

## When to avoid
- you are starting a new React project today - JSX and modern tooling are the ecosystem standard
- you need TypeScript type checking inside templates
- the project requires actively maintained tooling with recent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: templating, compiler, build-tool, cli
- domain: frontend, web-development, developer-tools
- platform: cli, cross-platform
- tags: react, html-templates, precompiler, jsx-alternative, rt-files, nodejs

## Member repositories
- wix-incubator/react-templates (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:23.611195+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-30T08:14:26.005804+00:00, confidence not recorded.
  - readme: https://github.com/wix-incubator/react-templates (fetched 2026-08-28T04:07:23.611195+00:00, sha 2b3871afff20)
- Data as of 2026-08-30T08:39:29.467469+00:00.
