外媒 MSPoweruser 报道,开发跨平台应用的方法有很多,微软积极支持的一个框架是 React Native。

事实上,微软维护了自己的框架变体 React Native for Windows(或称 React Native UWP),该框架已经针对 Windows 10 的特殊要求进行了优化,并特别注重性能。例如新的 Xbox 应用就是用 React Native 编码的,与旧版的 Electron 相比,它的性能得到了提升。

目前,微软已经在 Windows 10 应用商店中发布了 React Native Gallery 应用。React Native Gallery 是一个 React Native Windows 应用程序,它展示了支持 Windows 的 React Native 组件的范围,并让开发人员深入了解该框架。

据获悉,React Native Gallery 在原理上与几周前微软在 Windows 10 商店发布的 WinUI 3 Controls Gallery 应用非常相似。

开发者可以通过访问 GitHub 了解更多关于使用 React Native Windows 开发的信息。这个 React Native Gallery 应用的源代码也可以在 GitHub 上找到。

推荐内容