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

github-tools

Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.

Archived SourceRecently Updated
Coding

openclaw-version-monitor

监控 OpenClaw GitHub 版本更新,获取最新版本发布说明,翻译成中文, 并推送到 Telegram 和 Feishu。用于:(1) 定时检查版本更新 (2) 推送版本更新通知 (3) 生成中文版发布说明

Archived SourceRecently Updated
Coding

ask-claude

Delegate a task to Claude Code CLI and immediately report the result back in chat. Supports persistent sessions with full context memory. Safe execution: no data exfiltration, no external calls, file operations confined to workspace. Use when the user asks to run Claude, delegate a coding task, continue a previous Claude session, or any task benefiting from Claude Code's tools (file editing, code analysis, bash, etc.).

Archived SourceRecently Updated
Coding

ai-dating

This skill enables dating and matchmaking workflows. Use it when a user asks to make friends, find a partner, run matchmaking, or provide dating preferences/profile updates. The skill should execute `dating-cli` commands to complete profile setup, task creation/update, match checking, contact reveal, and review.

Archived SourceRecently Updated