Live data from Hacker News

ReactXP – A library for building cross-platform apps

microsoft.github.io

91–100 of 124 posts

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

#91
post #61

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.

AS a C# programmer, I hope MS can be more focused on Xamarin. Have tried react kind of staff, just can't get into javascript.

Why?

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

#92
post #20

Am I the only one who thinks this is a big deal? This basically means you can finally share your React code across platforms. It has always felt off that React and React Native are so similar, yet you can't use the same code for web and apps.

Like Java? Or QT? React Native being different for different platforms was kind of the point. "Learn once, write anywhere." This meant they could focus on wrapping the features of each unique platform without having to worry about how that affects supporting all of them simultaneously. Otherwise you get the lowest-common-denominator effect of supporting only the available APIs common between all platforms. And all of the painful effort of making sure everything works consistently and predictably across all platforms.

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

#93
post #28

Earlier quoted context omitted.

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.

I'd like to see some benchmark comparisons with electron

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

#94
post #86
post #71

Earlier quoted context omitted.

The OS API integration, C# and F# are also selling points. Qt doesn't support even half of the OS APIs that Xamarin does. As for JavaScript based solutions, I don't intend to ever use it outside the browser.

I have same feelings for js in general, but I suggest you to try React Native. Just follow their official docs/tutorial. I was pleasantly surprised how straightforward it is. I believe you can as well use TypeScript.

I don't see a value for TypeScript outside the browser when I can use C# and F# instead of it.

As for ReactNative, give it two or three years and maybe then I will bother learning it.

As an old dog I have already seen too many carriages pass by, very few of them come back.

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

#95
post #50
post #46

I really want React for desktop apps. Currently we are running into some performance issues with large datasets and spreadsheets, and being able to offer a performant desktop app would be ideal. Right now we're considering using .NET and ReoGrid, since Qt is too expensive and we only target Windows anyways.

You can use Electron and do that. Not a ton of love for it around here because omg a web page as a desktop app the horror but I've had good experiences with it. (And if you e ever used Slack or Atom, you've used Electron)

You can use Electron to handle performance-sensitive large datasets and spreadsheets for a desktop app. But I think there is an even better solution for this: you could program it in DOS 5.0 batch and ship it with a Windows 3.1 VM to really juice out that last bit of performance and efficiency.

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

#96
post #79
post #69

Earlier quoted context omitted.

What are different platforms referring to here? The quoted sentence sounds like it means web vs apps but you (and the parent?) make it seem like we're talking about Android vs iOS.

And Windows vs OS X vs Linux.

Parent was saying "you don't need to do this in react-native" regarding the following sentence:

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

This is referring to web vs apps, in other words React vs React Native. That's the context of my reply. They are not talking about the (optional) differences within a React Native app to fit different platforms.

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

#97
post #57
post #32

Is there a screenshot somewhere to see how it looks like our am I missing something?

indeed a set of cross-platform samples would have been nice

There's a hello world in the samples directory https://github.com/microsoft/reactxp

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

#100

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.

Also http://reactiveui.net/ which looks quite good, but doesn't have good enough documentation for me to commit a project to it yet.
Post reply on HN