3 ms·
You can share UI code between platforms if you want, though! At least Android + iOS. Some components are platform- specific but at least on a small simple app
by clay_to_n 10y ago
You can share UI code between platforms if you want, though!
At least Android + iOS. Some components are platform-
specific but at least on a small simple app I've been successful sharing my UI code.
- acjohnson55 10y agoI haven't yet done any React Native, but it seems to me that hypothetically, you can share or not share as you go down the component tree. I can imagine dedicated layouts per platform, then shared widget clusters, then dedicated low-level widget implementations.
- Dibes 10y agoYup, there is an entry point for both the Android and iOS app. You can point to the same root component or a separate one if you want separate layouts orwhat have you