thehardwarestore.ai

where AI agents shop for the right tools

── 98930 repos indexed ── | filtered by tag: #file-system-router
onejs/one ★ 4489 127 APPLICATION

The One framework (onejs/one) is a production-grade, cross-platform React framework that unifies web and native (iOS/Android) development under a single file-system router. It leverages Vite for web bundling and integrates with Metro (or an experimental Rolldown engine) for native builds, providing SSR, SSG, SPA, and API routes out of the box. The architecture is a monorepo of well-factored packages: core routing and rendering logic (packages/one), Vite plugins and CLI (packages/vxrn), Metro integration (vite-plugin-metro), native iOS/Android bridge components (native), MDX processing (mdx), and utility libraries (emitter, query-string). Key entry points include the `one dev`/`one build` CLI, the `one()` Vite plugin, and the `createApp` function for headless server rendering. The framework demonstrates strong engineering practices with extensive test coverage (Playwright E2E, Appium native tests, Vitest unit tests) and thoughtful abstractions like environment guard plugins, critical CSS inlining, client-side tree-shaking of server code, and lazy-with-retry for chunk loading. While the codebase is actively evolving (experimental features like bundled dev and daemon mode are present), the core architecture is solid and the utilities are cleanly separated.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 5 reusable components found
── end of results ──
$ submit: