Skip to main content
Version: v1 (Current)

Porting an existing component

Port the reusable interaction, configuration and data contract into the appropriate AppUI layer. Adapt the implementation to Vue's Composition API, public TypeScript types, Reka controls and the library's CSS theme bridge.

Translate the application boundary​

Existing responsibilityAppUI adaptation
Reads from a platform storeProps or an injected app-owned service contract
Calls authenticated endpointsEmit an event or bind an explicit flow action in the app
Mutable page configurationTyped page props and static default action/result metadata
DOM/global theme writesScoped CSS variables through ThemeWrapper
Device/recording resourcesOwned tracks, cleanup, and guards against late results
Custom form validationFormElement/FormRenderer or native constraints for a simple page
Global selectors or fixed IDsComponent refs or unique associated input IDs

Retain intended UX, but do not retain disabled TypeScript checks, untyped event arrays, fake API imports, deferred implementation placeholders, or inaccessible clickable content. Reusable pages must also work with the complete library stylesheet outside the hosting platform.

Media blobs and action payloads should cross steps through flow context. A page's local singleton resources may be cleared when the last consumer unmounts; do not rely on a previously revoked object URL. Code creating an object URL must define who revokes it.

Update existing stories into working examples and add behavioral tests for validation, navigation, failure/retry, reset and resource cleanup. Use source-generated props/events/slots as the authoritative API. The migration guide covers app-consumer changes; testing lists required checks.