Architects and maintains platform-agnostic shared libraries for seamless code reuse across React web and React Native mobile applications.
This skill provides a comprehensive framework for building shared NPM packages that function correctly in both web and mobile environments. It enforces critical rules for platform-agnostic coding, such as avoiding browser-specific APIs and implementing conditional imports. By standardizing build tools like tsup and establishing strict semantic versioning and local development workflows using yalc or npm link, it ensures high-quality, production-ready internal libraries that accelerate multi-platform development.
主な機能
01Platform-agnostic code enforcement for Web and Mobile
02Automated ESM and CJS build configurations via tsup
03Standardized file structure for components, hooks, and utils
04Cross-platform styling patterns with NativeWind compatibility
05Semantic versioning (SemVer) and publication workflows
060 GitHub stars
ユースケース
01Building a shared UI component library for web and mobile apps
02Standardizing internal NPM package development across a team
03Creating cross-platform business logic and API utility packages