Adding Event Emitters to Your TurboModule in Swift @CallstackEngineers
Adding Event Emitters to Your TurboModule in Swift  @CallstackEngineers
Uploaded December 2025 | Updated September 2026, 16 hours ago
Event emitters let native code actively notify JavaScript when something changes, instead of waiting for JS to poll for updates. In this episode, Oskar shows how to add event emitting to a Swift TurboModule so your native logic can push updates directly to the JS layer.

The walkthrough begins with defining an event type in the TypeScript spec, triggering Codegen to generate a native emit interface. Oskar then updates the Swift implementation to store and trigger a callback when a new key is added, explains a subtle retain cycle issue between Swift closures and Objective-C, and shows how to fix it safely. The episode ends by subscribing to the event with a React `useEffect` and verifying end-to-end delivery from native to JavaScript.

Follow Callstack on X 🐦 https://x.com/callstackio
Adding Event Emitters to Your TurboModule in SwiftReact Native AI: Bringing On-Device LLMs With AI SDK by Szymon Rybczak | AI Meetup Wrocław, 2025Building Live Activities in Expo on iOSRedraw for Effects Beyond Skia | Interview With William CandillonHow Can I Test My AI Agent Skills Reliably?Live Dev Session: Node-API, Wallets & Worklets in React NativeIntelligent Fallbacks: Using Apple Intelligence Seamlessly With @react-native-ai/appleScaling React Native at Zalando: How Brownfield Migration Paid OffOttrelite: Tracing Framework for React Native | Artur Morys-Magiera & Dominik Dolny at RUC 2025Can a Specialized Model Beat Frontier Models at React Native?On-Device AI With Transformers.js, WebGPU, and Hugging Face | React Universe On AirBuild a React Native News Agent With Eve
Callstack |

Adding Event Emitters to Your TurboModule in Swift

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER