-
-
Notifications
You must be signed in to change notification settings - Fork 28
(Cross Multi) Platform
LeoTM edited this page Sep 12, 2025
·
72 revisions
- C# -> native(+Windows)
- succeeded by .NET MAUI, 2024 β οΈ
- js/ts -> native
- 2015 official
- 20:15 angular β οΈ 19 vue 20 svelte 23 react/solid
- js/ts ->
bridgenew arch -> native- build: JSI codegen TurboModule(lazy) jsi::HostObject's
- js/ts TurboModule(APIs)/FabricComponent(UI) type spec (codegen) -> JSI(C++) -> native
- (e.g. onPress) native UI event (main/UI thread) Fabric -> ...
- (e.g. battery) native event sub (native thread) TurboModule -> ...
- (e.g. app logic) js event (js thread) -> JSI(C++) -> TurboModule -> ...
- ... JSI(C++) -> event loop [React Fiber (async): update tree state/props, logic, new WIP tree, diff algo... RN Fabric (JSI): new shadow(C++) tree in RAM] (js thread) -> Fabric: yoga shadow tree diff, calc mutations queued (shadow/bg thread) -> Fabric: native UI update (main/UI thread)
- js OTA:
codepushexpo eas) - js VM: debug: V8, prod: JSC/(Static)Hermes/any
- Dart <-> native bridge
- no VM (prod)
- UI: canvas (component updates have no effect)
- Material Design (Android/iOS)
- Cuptertino (native iOS)
- write native ez
- no VM
- shared logic
- keep native UI
- no eco, works w native platform eco's
- SwiftUI / Jetpack Compose
- no intermediate layer
- no interop bottlenecks
- C#, XAML -> native(+Windows/macOS)
- 2022 official