3 ms·
So it's like Xamarin -- there's UI for iOS, UI for Windows, UI for Android, but you can also use "Xamarin Forms" and have a similar appearance everywhere. But t
by cwyers 9y ago
So it's like Xamarin -- there's UI for iOS, UI for Windows, UI for Android, but you can also use "Xamarin Forms" and have a similar appearance everywhere. But there's nothing stopping there from being a "React Forms" or whatever that does the same thing, is there?
- pknopf 9y ago> being a "React Forms" or whatever that does the same thing, is there? Nothing stopping it, nope. I'm surprised there isn't something currently. That said, it isn't so bad using different render functions for different platforms. The state management and event handling should be 100% consistent. Besides, going all in on a single render engine limits you to creating special "holes" to utilize controls native to the platform. Im not sure if flutter supports this, but I doubt it.
- cwyers 9y agoSure. It just seems odd to list "Flutter could do X" as a benefit if React could do it, too. Yes, React doesn't do it yet, but it also could.
- piaste 9y ago> Nothing stopping it, nope. I'm surprised there isn't something currently. There is - ironically, by the owners of Xamarin: https://microsoft.github.io/reactxp/ https://microsoft.github.io/reactxp/ Hadn't heard of it practically at all since the initial announcement. It seems it's a very small team: https://github.com/Microsoft/reactxp/pulse https://github.com/Microsoft/reactxp/pulse
- jrs95 9y agoFlutter has MUCH better performance than Xamarin Forms though. React could theoretically have something just as good for a cross platform UI toolkit, but given that Flutter took several years to even get to a beta, I think that would probably be a long and expensive project for Facebook and they're likely just not interested in it. That sort of thing sort of runs against the core philosophy of React Native anyways.
- newdayrising 9y agoDo you have a Xamarin vs Flutter benchmark you'd like to share?
- jrs95 9y agoUnfortunately no, this was purely anecdotal based on my experiences using sample/demo applications.