Source snapshot bcc79fcc · Declared package version 45.0.5. This page combines the checked-in package guide and manifest; commands and runtime behavior were not executed in this review.
React Native presentation runtime for mobile apps.
What It Provides
Layer: lib.
Consumers: mobile apps.
Related ContractSpec packages include @lssm-tech/lib.presentation-runtime-core, @lssm-tech/lib.presentation-runtime-react, @lssm-tech/lib.ui-kit, @lssm-tech/tool.bun.
Related ContractSpec packages include @lssm-tech/lib.presentation-runtime-core, @lssm-tech/lib.presentation-runtime-react, @lssm-tech/lib.ui-kit, @lssm-tech/tool.bun.
bun add @lssm-tech/lib.presentation-runtime-react-native
Usage
Import the root entrypoint from @lssm-tech/lib.presentation-runtime-react-native, or choose a documented subpath when you only need one part of the package surface.
Architecture
src/index.ts is the root public barrel and package entrypoint.
src/nativewind-env.d.ts is part of the package's public or composition surface.
src/useContractTable.ts is part of the package's public or composition surface.
src/useDataViewTable.ts is part of the package's public or composition surface.
src/useVisualizationModel.ts is part of the package's public or composition surface.
Public Entry Points
Export . resolves through ./src/index.ts.
Export ./nativewind-env.d resolves through ./src/nativewind-env.d.ts.
Export ./useContractTable resolves through ./src/useContractTable.ts.
Export ./useDataViewTable resolves through ./src/useDataViewTable.ts.
Export ./useVisualizationModel resolves through ./src/useVisualizationModel.ts.
Local Commands
bun run dev — contractspec-bun-build dev
bun run build — contractspec-bun-build build
bun run lint — bun run lint:fix
bun run lint:check — biome check .
bun run lint:fix — biome check --write --unsafe --only=nursery/useSortedClasses . && biome check --write .
bun run typecheck — tsgo --noEmit -p tsconfig.json
bun run publish:pkg — bun publish --tolerate-republish --ignore-scripts --verbose
bun run publish:pkg:canary — bun publish:pkg --tag canary
bun run clean — rimraf dist .turbo
bun run build:bundle — contractspec-bun-build transpile
bun run build:types — contractspec-bun-build types
bun run prebuild — contractspec-bun-build prebuild
Recent Updates
Replace eslint+prettier by biomejs to optimize speed.
Add table capabilities.
Notes
Must stay compatible with presentation-runtime-core; do not diverge from the shared interface.
NativeWind integration is platform-specific — changes must be tested on actual devices/simulators.
Avoid web-only APIs; all code must run in React Native's JavaScript environment.
Standalone declaration exports keep their existing public subpath names. The shared builder preserves their original declaration suffix and copies checked source declarations into dist, without overwriting emitted implementation types.
Canonical feature and feature-hub imports preserve all original native renderer bodies and public export maps. The React re-export boundary remains intact and requires the complete React renderer supplier joins; task-bound adoption, producer, compiler and affected consumer qualification remain pending.
Declared capabilities.
Lib Presentation Runtime React Native
React Native presentation runtime for mobile apps
Use it to
Adopt react native presentation runtime for mobile apps
Requires
TypeScript
Choose another boundary when
The @lssm-tech/lib.presentation-runtime-react-native package constraints do not match the target runtime or platform.
These are package-manifest entry points. Named symbols listed above come from the capability catalogue; this is not an exhaustive TypeScript symbol reference.