How to build a React Native C++ Turbo Module (Part 1 iOS)

preview_player
Показать описание
Hi guys!

Today is a special video. I will be showing you how to create a react native c++ turbo module for iOS. The beauty of this approach is that the module is purely C++ without having to invoke objc methods as a layer between js and c++.

This is an upgrade to react native jsi modules which I showed in the previous two video:

00:00:00 - Intro
00:01:46 - Module Bootstrap
00:03:53 - Defining Module Spec
00:06:05 - Setting Up Module Files
00:09:16 - Building the React Native C++ Turbo Module
00:28:30 - Using the module in the example App
00:31:32 - Testing our module on simulator
00:32:50 - Comparing c++ turbo module and jsi module implementation
00:35:40 - Outro
Рекомендации по теме
Комментарии
Автор

Btw, the name of the codegen directory has changed to "ReactCodegen" instead of "React-Codegen" in the video

charleschen
Автор

Third video for me! Awesome, as always

charleschen
Автор

Thanks for the context Rami, this is super informative ❤

oliverloops.
Автор

clear explanation! thank you very much for this tutorial

wadeeraya
Автор

Thanks! I wanna know is support to Expo?

alexyip