# onejs/one

❶ One lets you target React web and React Native with a single Vite plugin. Everything you need to build great websites and apps with unified routing.

Repository: https://github.com/onejs/one
Canonical: https://ross.abutalabs.com/products/one
Homepage: https://onestack.dev
Language: TypeScript
License: NOASSERTION
License Family: other
Topics: react, react-native, vite, local-first
Last push: 2026-08-26T23:11:49+00:00

## Health v2 (maintenance only)
Score: 90/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 76
- inputs: {"age_days": 1066, "days_push": 7, "days_rel": 7, "gap_med": 0, "n_releases_24m": 438}
- 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 4487, forks 127 (observed 2026-08-28T04:08:51.253550+00:00)

## What it is
One is a React framework delivered as a single Vite plugin that lets you build websites with React and native apps with React Native from one codebase. It provides typed file-system routing, per-page render modes (SSG, SSR, SPA), loaders, middleware, and a production-ready server (Hono, Vercel, or Cloudflare).

## Use cases
- build a website and native app from one codebase
- cross-platform react app with shared routing
- vite-based react native framework
- ssr and ssg react framework with typed routes
- ship a react native app to app stores with metro
- full-stack react app with loaders and middleware

## When to choose
- you want one codebase targeting both React web and React Native
- you prefer Vite over Metro for web and want typed file-system routing
- you need per-page control of SPA, SSR, or SSG render modes
- you want a light, opinionated full-stack React framework with a production server included

## When to avoid
- you need React Server Components or an RSC-centric stack
- you require Windows support at production level (still early)
- you want the experimental Vite-native bundler for production native builds (still alpha)
- you need a fully mature, battle-tested framework like Next.js or Expo Router

## Facets
- artifact type: framework
- maturity: active
- function: web-framework, ssr, routing, middleware, static-site-generator, build-tool
- domain: web-development, frontend, mobile-development, cross-platform
- platform: cross-platform
- tags: react, react-native, vite, vite-plugin, file-system-routing, local-first, universal-apps, tamagui, nodejs, web-server, ios, android

## Member repositories
- onejs/one (main) score 90

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:51.253550+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-29T18:20:30.077734+00:00, confidence not recorded.
  - readme: https://github.com/onejs/one (fetched 2026-08-28T04:08:51.253550+00:00, sha fed7aefe3976)
  - homepage: https://onestack.dev (fetched 2026-08-29T09:07:10.457057+00:00, sha a06361b30d10)
  - site_page: https://onestack.dev/docs/routing-middlewares (fetched 2026-08-29T09:07:10.475307+00:00, sha 2d41280e60ff)
  - site_page: https://onestack.dev/docs/render-modes (fetched 2026-08-29T09:07:10.470689+00:00, sha bc4796844ae0)
  - site_page: https://onestack.dev/docs/routing-loader (fetched 2026-08-29T09:07:10.472692+00:00, sha 971d7ec12d80)
  - site_page: https://onestack.dev/docs/status (fetched 2026-08-29T09:07:10.465789+00:00, sha 3a2be7c1ddf9)
  - site_page: https://onestack.dev/docs/introduction (fetched 2026-08-29T09:07:10.467409+00:00, sha f0648c518601)
  - site_page: https://onestack.dev/docs/routing (fetched 2026-08-29T09:07:10.469190+00:00, sha 201b54821c71)
  - site_page: https://onestack.dev/docs/features (fetched 2026-08-29T09:07:10.477150+00:00, sha 852752be5804)
- Data as of 2026-08-30T08:39:29.467469+00:00.
