3 ms·
In my experience code-share between React and React Native is extremely difficult as your UI code is so significantly different with native components and what
by madeofpalk 10y ago
In my experience code-share between React and React Native is extremely difficult as your UI code is so significantly different with native components and what not.
At least with Angular/Ionic you can directly share UI code between the two as its all HTML and CSS.
Still, I really enjoy working with React and React Native because I it's one API and mental model to learn.
- Secretmapper 10y agoHave you tried it recently? I don't think I've had this problem with recent versions.
- lacker 10y agoYou might want to check out https://github.com/necolas/react-native-web https://github.com/necolas/react-native-web - that has implementations for a lot of the React Native primitives on the web, to make code-sharing easier.