Catalyst is a React framework for building performant web apps and universal apps for Android and iOS. It provides server-side rendering, route-level data fetching, app shell primitives, styling conventions, and native WebView packaging tools.
Create a new Catalyst app with:
npx create-catalyst-app@latestThen start the generated app:
cd <your-app>
npm run startThe development server starts at http://localhost:3005.
Read the full documentation at catalyst.1mg.com.
Useful starting points:
catalyst-core: the framework package used by Catalyst applications.create-catalyst-app: the CLI for scaffolding new Catalyst apps.
- Node.js
20.4.0or later for generated Catalyst apps. - macOS or Linux for local development.
This repository is a monorepo containing the framework package, scaffolding CLI, docs app, and internal test fixture.
packages/catalyst-core: framework packagepackages/create-catalyst-app: CLI and scaffold templatesapps/catalyst-core-test: standalone fixture app used to testcatalyst-coredocs: Catalyst documentation app
Install dependencies and create local docs config before running build/test commands:
npm run setupCommon development commands:
npm run core:build
npm run core:test
npm run cca:test
npm run docs:buildTo scaffold a real app from the current branch packages:
npm run sandbox:create -- --name release-testThe sandbox app is created under .sandbox/<name> and uses a local packed catalyst-core from the current branch.