Skip to content

docs(react-native): TypeScript schema generation for .riv files - #821

Draft
mfazekas wants to merge 4 commits into
rive-app:mainfrom
mfazekas:docs/react-native-ts-schemas
Draft

docs(react-native): TypeScript schema generation for .riv files#821
mfazekas wants to merge 4 commits into
rive-app:mainfrom
mfazekas:docs/react-native-ts-schemas

Conversation

@mfazekas

Copy link
Copy Markdown
Contributor

WIP / draft — pending the runtime release that ships rive-gen-types.

New page documenting TypeScript schema generation in @rive-app/react-native: generating .riv.d.ts files with npx rive-gen-types so artboard names, state machine names, view model names, property paths, and enum values are checked at compile time. Covers the quick start, what the generated schema contains, typing your own components with TypedRiveFile/TypedViewModelOf, workflow and CI guard, known limits, CLI reference, and troubleshooting.

Added to the React Native nav after Data Binding. Some follow-ups (named enum types, viewModelName-based generation, Rive CLI integration) are intentionally left out until they land.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant