{"library":"one","type":"library","category":null,"description":"One is an innovative React framework designed to unify web and native application development from a single codebase, leveraging Vite as its core bundler for both environments. Currently at version 1.15.10, it integrates with React 19.2.0 and React Native 0.83.2. This framework aims to simplify full-stack development by providing features like typed file-system routing, per-page render modes (SPA, SSR, SSG), and loaders, abstracting away complex platform-specific configurations and build processes. Its key differentiator is a focus on a cohesive, performant developer experience for hybrid apps, aiming to replace traditional setups involving Metro for native and separate web frameworks. One originated from the experience of building cross-platform apps with Tamagui Takeout and at Uniswap, highlighting its practical, production-oriented approach.","language":"javascript","status":"active","version":"1.15.10","tags":["javascript","typescript"],"install":[{"cmd":"npm install one","imports":["import { defineConfig } from '@one/vite-plugin';\n\nexport default defineConfig({});","import { App } from 'one';\n\nfunction MyRootApp() {\n  return <App initialRoute='/'>...</App>;\n}","import { useLoader } from 'one/server';\n\nfunction MyComponent() {\n  const data = useLoader((ctx) => {\n    // Server-side data fetching logic\n    return { message: 'Hello from loader!' };\n  });\n  return <p>{data.message}</p>;\n}"]},{"cmd":"yarn add one","imports":[]},{"cmd":"pnpm add one","imports":[]}],"homepage":"https://eon.dev","github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/one","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/one/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Wed Jul 22","install_tag":null}}