ionic-to-expo

Convert Angular/Ionic/Capacitor TypeScript code to React Native/Expo equivalents. Use when migrating mobile apps from Ionic to Expo, converting Angular components to React Native, mapping Capacitor plugins to Expo modules, or translating RxJS/Services patterns to React state management.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "ionic-to-expo" with this command: npx skills add patrickghidossi/ionic-to-expo/patrickghidossi-ionic-to-expo-ionic-to-expo

Ionic to Expo Migration

Convert Angular/Ionic/Capacitor projects to React Native/Expo.

Workflow

  1. Analyze - Read source TypeScript files, identify patterns
  2. Map - Match Ionic/Angular patterns to RN/Expo equivalents
  3. Convert - Generate equivalent React Native/Expo code
  4. Validate - Check for missing dependencies or incompatibilities

Conversion Process

When given Angular/Ionic source files:

  1. Identify the file type:

    • .component.ts → React functional component
    • .service.ts → Custom hook or context
    • .page.ts → Screen component
    • .module.ts → Usually not needed (note dependencies)
    • .guard.ts → Navigation guard logic
  2. Extract and convert:

    • Template (@Component.template) → JSX return statement
    • Styles (@Component.styles) → StyleSheet or styled-components
    • Inputs (@Input()) → Props
    • Outputs (@Output()) → Callback props
    • Lifecycle hooks → useEffect patterns
  3. Reference the mapping guides:

Quick Reference

Angular/IonicReact Native/Expo
@ComponentFunction component
@Input()Props
@Output()Callback props
ngOnInituseEffect(..., [])
ngOnDestroyuseEffect cleanup
ngOnChangesuseEffect with deps
*ngIf{condition && <Component/>}
*ngFor.map()
[(ngModel)]value + onChangeText
[class.x]="cond"Conditional styles
(click)onPress
BehaviorSubjectuseState or context
Observable.pipe()Custom hooks

Output Format

When converting, provide:

  1. Converted code with equivalent functionality
  2. Required dependencies to install
  3. Migration notes for manual adjustments needed
  4. Type definitions if applicable

Anti-Patterns to Avoid

  • Don't blindly translate class components; use hooks
  • Don't create services as classes; use hooks/context
  • Don't use any types; preserve TypeScript safety
  • Don't ignore platform differences (iOS vs Android)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

My Browser Agent

Automate browsing with Playwright to visit URLs, capture screenshots, retrieve page titles, and interact with elements (clicking coming soon).

Registry SourceRecently Updated
Coding

Mockdata

Fake data generator for testing and development. Generate realistic mock data including names, emails, addresses, phone numbers, companies, dates, lorem ipsu...

Registry SourceRecently Updated
Coding

OpenClaw Mobile Gateway Installer

Installs and manages OpenClaw mobile gateway as a system service. Invoke when users need one-command deploy, start, stop, upgrade, or uninstall.

Registry SourceRecently Updated
Coding

Fontpick

Font pairing and typography helper for designers and developers. Get selectd font pairings by style (modern, classic, minimal, bold, code), generate CSS font...

Registry SourceRecently Updated