r/xamarindevelopers • • Apr 06 '19

Why Microsoft is using React Native for mobile apps instead of Xamarin?

Hi,

I’m a Xamarin developer, and I’m a little bit concerned. Recently my boss asked me to take a look at React Native. I asked: “What for? We have a Xamarin. Its better” After a short conversation with him I went to my pc to find proofs, that Xamarin is still better. After short googling I’ve found this article:

https://blog.appfigures.com/microsoft-goes-all-in-on-react-native-for-their-mobile-apps/

Moreover then I’ve opened official dev Skype web page:

https://dev.skype.com/react

I was shocked. My question is: What does it mean? Why? Microsoft owns Xamarin. So why they are using technology which is competitive for Xamarin? Is it the beginning of the end for Xamarin?

27 Upvotes

14 comments sorted by

4

u/bt4u6 Apr 06 '19

Possibly because they bought xamarin somewhat recently (2? Years ago)

1

u/grinh23 Apr 06 '19 edited Apr 06 '19

Yeah. They did. So why they are using React Native now? Shouldn't they use technology they own?

4

u/bt4u6 Apr 06 '19

Rewriting existing codebases and training people is rarely a good idea

1

u/iinlane Apr 07 '19

So why did they rewrite skype using react?

15

u/DuckPresident1 Apr 07 '19

I think the mistake you are making is thinking that Xamarin is the best thing out there.

I use Xamarin and have been doing for several years, but Jesus Christ it really is painful sometimes. I was sure that given the pain I was having that this couldn't possibly the king of the castle hand had a look at a few other things.

I think flutter is amazing tbh. I haven't tried react. I don't know what the future holds for Xamarin, even though I'm still using it day in day out, tbh I think that if the developer experience doesn't get significantly better it's days are numbered.

3

u/[deleted] Apr 07 '19

Totally agree

4

u/no1name Apr 06 '19

They want to attract open source developers. They do it in other areas as well with reactjs in asp.

3

u/andromeduser Apr 06 '19

According to this tweet they use it internally for a few not very important apps

Check out @JamesMontemagno’s Tweet: https://twitter.com/JamesMontemagno/status/1114528052812427265?s=09

0

u/[deleted] Apr 07 '19

[deleted]

2

u/andromeduser Apr 07 '19 edited Apr 07 '19

You misunderstood me. I mean they are using Xamarin for a few not very important apps. They are heavily using React Native and Kotlin/Swift for most projects. On Kotlin Conf 2018 Jetbrains presented that Microsoft reduced LOC by 25% after migrating to Kotlin.

What regards to cross-platform app development, I think language doesn't matter. Even if you familiar with C#, you don't have to write everything in C#. That's utopian mindset. I was watching new xamarin preview yesterday https://youtu.be/IcWnbZ6joDs and didn't notice any new revolutionary approach, that will make Xamarin win this battle. Material design is already 4 years old and Xamarin is just integrating it. And who said that iOS users want to see Material design everywhere? There are other great frameworks out there with better support and larger community. You can learn Kotlin in 1 month and write Kotlin/Native soon with better tooling support. You can learn React/Native(which i though wouldn't recommend). Cross-platform frameworks are always playing catch-up game with native. Only Flutter and Kotlin Multiplatform approaches are different. Flutter draws every pixel, but it reminds Silverlight and Google is famous of closing such projects. Time will show though. Kotlin Multiplatform is sharing only some parts of the app, UI is written in native way. I like it more but it's still in beta. Great article on this “The Fundamental Problems with cross-platform frameworks” https://medium.com/p/cea57ac18fef As author says, Let's use right tools for the right job.

2

u/[deleted] Apr 07 '19

I thought Facebook have been prohibiting to use React for Microsoft and Google. Now it looks like React's licence has changed, react is supported for UWP and WPF apps with React Native Windows.

1

u/NPadrutt Apr 07 '19

I think the main reason to use React Native over Xamarin is if you have to have a web Client. Xamarin Forms doesn't support to directly create a webclient, which React Native does. Since Microsoft does have to have a really good WebClient for a lot of their Software (especially the newer like Skype and Todo) it kinda makes sense.

2

u/CSMR250 Apr 07 '19

Agreed although use of web tech is really hurting the quality of desktop apps at the moment. Such a shame they use web approaches for major apps (Skype, Teams...).

0

u/echomatt95 Apr 06 '19

It might be because as a company you can learn what you need to improve in your own product by understand the inner workings of a competitive product.

Also Microsoft might be trying to get some favor with the open source community.

-3

u/NPadrutt Apr 07 '19

I think the main reason to use React Native over Xamarin is if you have to have a web Client. Xamarin Forms doesn't support to directly create a webclient, which React Native does. Since Microsoft does have to have a really good WebClient for a lot of their Software (especially the newer like Skype and Todo) it kinda makes sense.