Provides comprehensive transformation rules and mapping tables for migrating React (shadcn/ui) components to SolidJS equivalents.
The react-to-solid skill serves as a central knowledge repository for the Zaidan project, offering a standardized set of rules for converting React components into idiomatic SolidJS. It contains detailed mappings for syntax differences, such as transforming className to class and React.map to Solid's For component, while providing deep integration guides for UI primitives like Kobalte and Corvu. This skill acts as a critical reference for AI agents, ensuring that codebase migrations maintain reactivity and follow SolidJS best practices for prop handling and component architecture.
Características Principales
01Anatomy and API mapping for Kobalte and Corvu UI primitives
02Standardized patterns for polymorphic components and SolidJS-specific prop handling
0362 GitHub stars
04Reference tables for React hooks and lifecycle methods to SolidJS primitives
05Direct library translations from @base-ui/react to @kobalte/core and corvu
06Syntax mapping for attributes, props destructuring, and conditional rendering
Casos de Uso
01Migrating existing Shadcn/ui React components to a SolidJS project
02Learning idiomatic SolidJS equivalents for common React design patterns
03Providing context for AI agents during automated codebase refactoring