3 ms·
Do they share code between desktop and RN?
by douglaswlance 4y ago
Do they share code between desktop and RN?
- brundolf 4y agoMy company has a RN app and a React web app. We've found there isn't much opportunity for sharing UI code; you can share hooks, data layer type stuff, etc, but the actual components aren't really compatible because the leaves of the UI tree are totally different (native elements vs HTML elements) The bigger wins come from shared tooling/skillset/headspace. Our UI devs can fairly easily jump back and forth between the two codebases
- rahimnathwani 4y agoDid you consider using React Native Web?
- brundolf 4y agoInteresting, I didn't know about that Though our web app does a lot of things the mobile app doesn't, and also benefits from things like Next.js, so I'd be a little worried about the cost/value tradeoff there for us specifically