Live data from Hacker News

ReactXP – A library for building cross-platform apps

microsoft.github.io

31–40 of 124 posts

Re: ReactXP – A library for building cross-platform apps

#31
post #19

Earlier quoted context omitted.

How do you use React Native on the web?

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.

Re: ReactXP – A library for building cross-platform apps

#33
>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.

As far as I understand, you don't need to do this in react-native. Only when you want to use some special features. Or am I missing something?

Re: ReactXP – A library for building cross-platform apps

#34
post #19

I'm missing something. How is this different to react native, which is already supported on ios, android, web and UWP?

How do you use React Native on the web?

There are several React Native web players. One is used in their documentation site.

Re: ReactXP – A library for building cross-platform apps

#35
post #33

>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. As far as I understand, you don't need to do this in react-native. Only when you want to use some special features. Or am I missing something?

With RN, if you want your app to look like a real native app, you have to implement things separately for iOS and Android. Eg the default navigation component animates differently than native iOS, and there is an extra component that uses the native UINavigationBar, but with that you need to manage the iOS navigation stack separately.

Re: ReactXP – A library for building cross-platform apps

#36
post #11

Earlier quoted context omitted.

You can address MacOS and Linux with current support. Just pack web app in Electron.

Then why would Windows need explicit support?

Don't forget that UWP targets only Windows 10 and moreover it unifies development cross Desktop and Mobile. So we can read React UWP as small support of easy deployment to Windows 10.

There is no support of ReactXP for Window 7/8 so there is again Electron+Web as only viable option when using ReactXP.

Re: ReactXP – A library for building cross-platform apps

#38
post #19

Earlier quoted context omitted.

How do you use React Native on the web?

Well, in case of the web I meant react

That's something different though. It looks similar, but there are differences - and this library is solving them.

Re: ReactXP – A library for building cross-platform apps

#39
post #28

Earlier quoted context omitted.

Like Xamarin for .NET Core?

Does Xamarian provide desktop widgets?

There is Xamarin.Forms, which is essentially cross platform XAML with a base set of widgets. It supports Android, iOS, UWP, and they are working on MacOS. No Linux yet.

Re: ReactXP – A library for building cross-platform apps

#40
So Microsoft now have -2- cross-platform application-frameworks they offer:

- Xamarin with .NET. Mobile apps only.

- ReactXP. Which also supports regular web-applications

It will be interesting to see if these two end up competing, or if one will be ditched in favour of the other.

Post reply on HN