3 ms·
Not the OP but React-native support for the web is also very early stage, I don't think I would use either for building a web platform.
by realusername 7y ago
Not the OP but React-native support for the web is also very early stage, I don't think I would use either for building a web platform.
- h0l0cube 7y agoIt's not something I've attempted yet, but I'm under the impression that a React -> React Native port is easier than building a Flutter app for Mobile, and then doing something else for web. Might be wrong?
- realusername 7y agoWith React Native you would also have to rewrite your components, it's unlikely your average React component would work without web dom & css.
- h0l0cube 7y agoThat's stating the obvious. Of course the UI would need re-implementation. Just like in Flutter, you might have a different UI for Cupertino and Android flavours, except with React, you'd have generic UI for mobile in RN (for better or worse), and your dom/css for React. You would be able to re-use much of the javascript logic and have .tsx as the consistent language throughout the code base. Ideally...
- tomduncalf 7y agoThis isn’t quite accurate, it’s mature enough for Twitter to use it for their new site for example (and to hire the creator of react-native-web): https://twitter.com/necolas/status/913877194199359488?s=21 https://twitter.com/necolas/status/913877194199359488?s=21
- realusername 7y agoI'm quite surprised by that, I've tried myself react-native-web and found it a bit limited. Maybe it has improved since then.