Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Understanding Threads and Queues in Swift TurboModules

Callstack Engineers via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
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

Reviews

Start your review of Understanding Threads and Queues in Swift TurboModules

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.