Fabric and TurboModule support #2106
Replies: 2 comments 11 replies
-
hi @naftalibeder, let's talk a bit more. Would you be interested in being sponsored to undertake this work? Would that free up your time to dedicate to this? |
Beta Was this translation helpful? Give feedback.
-
@naftalibeder I agree that we should try adopting TurboModules.
Also there is https://docs.expo.dev/modules/module-api/ as I understood they also promise fabric/new architecture support but with much less ceremony (Swift + Kotlin DSL instead of C++ generated code) - https://www.youtube.com/watch?v=te7bwfNsRKg&t=4217s |
Beta Was this translation helpful? Give feedback.
-
This is a discussion on our Fabric/Turbo module migration.
See PR #2819 for POC and concrete details.
mfazekas
This is an outline of what it would take to upgrade to Fabric and TurboModules (the new React Native renderer and native module interface).
I think it's too big of a job for just me, so I'd like to see if there's any interest in collaborating on it.
cc @mfazekas
RNMapbox
library from 0.67.0 (link)Example
project from 0.68.1 (link)NativeRNMapbox.ts
(link)CameraNativeComponent.ts
(link)Migrating .measure*()Not used?requireNativeComponent
to a separate file (link)dispatchViewManagerCommand
tocodegenNativeCommands
(link)Beta Was this translation helpful? Give feedback.
All reactions