Microsoft Nixes React Native Support in Visual Studio 2015
A post on the User Voice site for Visual Studio -- where users request new features -- confirmed what many devs probably expected.
Titled "Add React Native support to VS2015," the request was posted last Oct. 25 by "Jimi." It read (verbatim):
Facebook have a React Native to build both iOS and Android, and could write javescript html 5 and css to have native application, This could compare to Cordova, A compiled to wrapper or native like Xamarin did.
TypeScript already suport React, and will VS2015 support React Native also, like Tools for Cordova project.
That request was stamped "DECLINED" by Microsoft earlier this month. "Right now we don’t have near term plans to support it, however you can find some tools here http://taco.tools/vscode/rn," replied the Visual Studio team, pointing to the "React Native Tools (Preview)" for Visual Studio Code, Microsoft's free, slimmed-down IDE for building and debugging modern Web and cloud applications running on Linux, Mac OSX and Windows. Just a week ago today, the Visual Studio team published a blog post about how to "Develop React Native apps in Visual Studio Code," wherein it compared the React Native approach with the Apache Cordova approach.
The news that Visual Studio proper won't support React Native came exactly one week before Microsoft announced it was buying Xamarin Inc., which provides cross-platform tooling for creating mobile apps with C# -- tooling that has become more and more integrated with Visual Studio.
Considering that Xamarin itself recently acquired RoboVM, which uses Java to build cross-platform mobile apps, there seemingly was less incentive for Microsoft to include yet another cross-platform mobile technology in Visual Studio.
The User Voice post received 92 user votes, indicating there wasn't exactly overwhelming support for using React Native in Visual Studio. In contrast, another, earlier User Voice request to support React Web technology (not the new mobile flavor) garnered 2,705 votes, and such support was indeed built in to Visual Studio. (Note that the request was on the User Voice site for Web Essentials, but it was actually baked in to Visual Studio itself.)
Another victim of the Xamarin acquisition is "Project Astoria," Microsoft's plan to help Android developers bring their Java-based code to the new Windows platform. After months of rumored troubles, that project was officially killed by Microsoft a few days ago. Other such "bridge" projects -- for iOS, Web and other platforms -- are continuing.
With other cross-platform mobile option such as React Native Tools for Visual Studio Code, along with Apache Cordova support in Visual Studio, Microsoft apparently decided React Native and Astoria simply weren't needed. The Redmond software giant said it would share more information about its cross-platform development plans with Xamarin and other technologies at the upcoming Build conference, starting March 30.
"This is interesting," IDC analyst Al Hilwa told ADTmag. "I think there are several things going on. One is that the cross-platform strategy is still evolving, especially with the Xamarin acquisition now. Secondly, I think they are doing a lot of the new languages work in the Code editor. Third, I think supporting the React Native workflow is a bit different to adapting the Cordova workflow, so it is not a trivial change. Finally, I suspect they are still assessing the traction of React Native is getting."
Judging from the social coding sites, that traction is pretty substantial, and the news probably isn't much of a blow to React Native fans. First introduced early last year, and later open sourced by Facebook, React Native has enjoyed growing interest and usage in its young life. Already, one analyst is predicting it will be ready for enterprise production use later this year.
David Ramel is the editor of Visual Studio Magazine.