Hacker News new | ask | show | jobs
by roryisok 3354 days ago
I'm missing something. How is this different to react native, which is already supported on ios, android, web and UWP?
2 comments

>With React and React Native, your web app can share most its logic with your iOS and Android apps, but the view layer needs to be implemented separately for each platform. We have taken this a step further and developed a thin cross-platform layer we call ReactXP. If you write your app to this abstraction, you can share your view definitions, styles and animations across multiple target platforms.
That's interesting. But I wonder if many product developers will be ok with a common view layer -- Android and iOS's UX and design language are different (Icon sizes, tab bar, back button... all that).
How do you use React Native on the web?
You can use React Native for Web [1].

[1] https://github.com/necolas/react-native-web

There are several React Native web players. One is used in their documentation site.
Is that really comparable though? You use that when you want to demo React Native on the web. This means you can actually code for both platforms.
Right, AFAIK none of the available players are advertised as official ways to run apps in production.
Well, in case of the web I meant react
And that's the thing. You need to reimplement your UI code separately for react and react-native. react-xp abstracts all that away.
That's something different though. It looks similar, but there are differences - and this library is solving them.