What problem does it solve?
Migrating UI code from Flutter, React, or Jetpack Compose to Valdi is error-prone because Valdi has no hooks, no functional components, no Compose modifiers, and a void-returning onRender method. This Skill prevents invalid patterns and maps framework-specific APIs to correct Valdi equivalents.
Core Features & Use Cases
- Anti-pattern detection: Flags React hooks, Compose remember/Modifier chains, inline JSX lambdas, map() in render, and other patterns that do not exist in Valdi.
- API mapping tables: Provides lifecycle, component, navigation, state, storage, and networking mappings from Flutter, Compose, and React to Valdi equivalents like StatefulComponent, navigationController, PersistentStore, and HTTPClient.
- Correct code templates: Supplies working examples for stateless and stateful components, list rendering with forEach, module-level Style creation, and the provider pattern replacing React Context.
- Use Case: A developer porting a React screen with useState, useEffect, and a FlatList receives a Valdi StatefulComponent using onCreate, setState, class arrow handlers, and a scroll element with forEach.
Quick Start
Convert this React component with useState and a FlatList into an equivalent Valdi StatefulComponent.