New Version of React Native for Windows
Written by Kay Ewbank   
Tuesday, 23 March 2021

Microsoft has announced version 0.64 of React Native for Windows, its open source project for React Native developers wanting to target Windows. Among the new features is easier opt-in for Facebook's JavaScript engine Hermes.

Microsoft announced React Native for Windows at Build 2019 as a new open-source project on GitHub under an MIT License for React Native developers wanting to target Windows.

reactforwin

The Reactive Native framework was a development from Facebook's React JavaScript library,  open-sourced in 2013. Designed for building native mobile apps using JavaScript by letting developers use declarative components to compose a rich mobile UI, it  is still being used at and actively developed by Facebook, although it was open-sourced in 2015.

Microsoft's fork, React Native for Windows, adds support for the Windows 10 SDK, enabling devs to build apps for all devices supported by Windows 10 including PCs, tablets, 2-in-1s, Xbox, Mixed reality devices etc. It is described as an "updated, high-performance" implementation which, like the original, is for writing cross-platform code in JavaScript with a native feel.

Hermes is Facebook's JavaScript engine designed to make native Android apps built using the React Native network load faster. Hermes, which has been open sourced under a MIT license,  is described as featuring ahead-of-time static optimization and compact bytecode.

The new release, React Native for Windows 0.64, makes it easier to use Hermes, and Microsoft says it expects projects trying Hermes to see performance increases in most cases. The support is still experimental, and Microsoft doesn't yet support Hermes debugger or Hermes in C# applications.

The new release also improves API parity with the Facebook version, with more component properties supported by other platforms now working on Windows, such as Text backgroundColor, border, and textTransform. An initial version of AccessibilityInfo is now available.

React 17 is the default supported version, and there are changes the default metro configuration to enable "inline requires", meaning this release is faster at startup by default.

Other improvements include a new workflow that makes it easier to create community modules for Windows by using a built-in template; the ability for native code to respond to the React native instance being created, loaded, or destroyed; and a new WebSocket stack. 

 reactwin

More Information

React Native Windows On GitHub

Related Articles

Facebook Release Hermes JavaScript Engine

Microsoft's Reactive Native For Windows  

Facebook Releases React Native

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


The University of Tübingen's Self-Driving Cars Course
22/03/2024

The recorded lectures and the written material of a course on Self-Driving Cars at the University of Tübingen have been made available for free. It's a first class opportunity to learn the in an [ ... ]



Generative AI Training For All On Coursera
04/03/2024

Generative AI is on the loose, getting into business and commerce as well as into art, poetry and coding. Already useful, it  will become ever more useful as long as we use it properly. Coursera  [ ... ]


More News

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Tuesday, 23 March 2021 )