3 ms·
Have you tried React with React Native[0]? [0] https://facebook.github.io/react-native/ https://facebook.github.io/react-native/
by petetnt 10y ago
Have you tried React with React Native[0]?
[0] https://facebook.github.io/react-native/ https://facebook.github.io/react-native/
- Secretmapper 10y agoBTW to parent, one big advantage of react-native over ionic is that it's not a wrapped web app, but a javascript/react app that compiles to an actual native app. The performance difference and development experience (no silly css hacks) is very noticeable.
- nbclark 10y agoNot to nitpick, but I don't believe react native "compiles" to a native app. The evaluation of the JS in JavaScript Core is passed of to native code to layout native views. The interactions are then posted back into jscore. So while closer to native compiled code performance, it's still a bit different.
- Secretmapper 10y agoFair enough, I'm afraid I didn't explain it properly
- madeofpalk 10y agoIn 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.