Introducing React Native Windows for cross-platform apps

科技动态 2018-06-19 阅读原文

Building on Facebook’s React, Microsoft is delivering tools for building cross-platform code for Windows, the web, and beyond.

It’s not a big secret that Microsoft’s builds many of its own properties using TypeScript, its open source JavaScript alternative
. With strong typing and a transpiler that converts code to pure JavaScript, it’s designed to deliver large projects on top of web projects. But a tool like TypeScript is only part of the development story.

There are a lot of tools needed to build applications on top of TypeScript, especially if you want to deliver a native user experience. While Electron works well as a host, with API calls that link your application to the Windows platform, it’s still only the foundations. TypeScript on top of Electron alone would just give you another console application, missing all the familiar elements of a modern user experience, from windows and controls to a canvas for your own user elements.

You’re also in a cross-platform world, where your code needs to run not just on Windows, but also on the web, iOS, Android, and MacOS. Users expect not just the same app on each platform, but the same user experience and the same level of functionality. They want to bring what they’ve learned on iOS to Windows and on Windows to Android. Controls don’t need to look the same on each platform, but they do need to behave the same way.

InfoWorld News

责编内容by:InfoWorld News阅读原文】。感谢您的支持!

您可能感兴趣的

DirectX11 With Windows SDK–12 深度/模板状态... 前言 DirectX11 With Windows SDK完整目录: http://www.cnblogs.com/X-Jun/p/9028764.html 深度/模板测试使用的是与后备缓冲区同等分辨率大小的缓冲区,每个元素的一...
duit: Pure Go, cross-platform, MIT-licensed UI too... duit - developer ui toolkit WARNING: this library is work in progress. backwards incompatible changes will be made. ...
React Native之GitHub Popular App项目总结 React Native现在所谓如火如荼,所以作者也不例外,赶紧来凑凑热闹。写这篇文章正式12月份了,也算是实现今年的目标,熟练使用React Native。到现在一共写了2个项目了,已经能够熟练写RN项目,现在也算是实现了这个小目标。 ...
实践详细篇-Windows下使用VS2015编译安装Caffe环境(CPU ONLY)... 学习深度学习背景 最近在做一款抢票软件,由于12306经常检测账号状态,抢票抢着抢着就需要重新登录了,然后登录是需要验证码的。所以我最开始是想到了使用java基于感知哈希算法pHash做相似度匹配识别,结果测试发现精确度低的可怜。这里简...
React Native SyntaxError: unexpected tok... Whenever I turn off debugging from chrome I get red screen with SyntaxError: Unexpected token '.' As soon as I tur...