AI Engineer - Learn how to integrate AI into software applications
Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
Learn how threading works in React Native TurboModules and master performance optimization techniques to prevent app freezes. Explore the three main threads in React Native architecture: the JavaScript thread, native module queues, and the main UI thread, understanding how TurboModules interact with each. Discover practical methods to inspect which thread your code executes on using a Swift Local Storage TurboModule example, and understand why synchronous methods can block JavaScript execution leading to UI performance issues. Master Grand Central Dispatch (GCD) implementation to efficiently move heavy computational work onto background or custom queues, learning the differences between serial and concurrent queues and when to apply each approach. Implement asynchronous TurboModule methods using promises to ensure long-running operations never freeze your application, with hands-on examples demonstrating proper thread management techniques for optimal React Native app performance.
Syllabus
Understanding Threads and Queues in Swift TurboModules
Taught by
Callstack Engineers