native-module-helper
Installation
SKILL.md
Native Module Helper
Build custom native modules to bridge JavaScript and native code in React Native.
Quick Start
Native modules expose native functionality to JavaScript. Choose based on React Native version:
- Legacy Bridge: RN < 0.68 (stable, widely supported)
- Turbo Modules: RN >= 0.68 (better performance, type-safe)
Instructions
Step 1: Plan Module Interface
Design JavaScript API:
// What you want to call from JS
import { NativeModules } from 'react-native';
const { MyModule } = NativeModules;