用 React 构建Windows 原生应用,微软C++ 重写React Native for Windows

栏目: C++ · 发布时间: 6年前

内容简介:微软在 Build 2019 开发者大会上宣布开源React Native 是 Facebook 开源的移动应用开发框架,开发者可以使用 React 开发 iOS 与 Android 原生应用。

微软在 Build 2019 开发者大会上宣布开源 React Native for Windows ,这是一个使用 React 构建原生 Windows 应用的构架。

用 React 构建Windows 原生应用,微软C++ 重写React Native for Windows

React Native 是 Facebook 开源的移动应用开发框架,开发者可以使用 React 开发 iOS 与 Android 原生应用。

此次微软开源的 React Native for Windows 在 React Native 的基础上添加了对 Windows 10 SDK 的支持,允许开发者为 Windows 10 支持的所有设备构建应用,包括 PC、平板电脑、PC 平板二合一设备、Xbox 与混合现实设备等。

该项目此前是使用 C# 实现的,然而 React Native 的持续发展方向涉及 C++ 与 JS 之间更密切的交互,这很难通过单独的 C# 实现来实现。

所以当前微软正在使用 C++ 重写 React Native for Windows,以获得更好的性能,同时更好地与暴露出来的 C++ React Native 核心保持一致。微软打算提供一个兼容层,该层将支持使用 C# 编写的现有应用、view 管理器和原生模块。


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Deep Learning

Deep Learning

Ian Goodfellow、Yoshua Bengio、Aaron Courville / The MIT Press / 2016-11-11 / USD 72.00

"Written by three experts in the field, Deep Learning is the only comprehensive book on the subject." -- Elon Musk, co-chair of OpenAI; co-founder and CEO of Tesla and SpaceX Deep learning is a for......一起来看看 《Deep Learning》 这本书的介绍吧!

URL 编码/解码
URL 编码/解码

URL 编码/解码

MD5 加密
MD5 加密

MD5 加密工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器