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 (源链)。感谢您的支持!

您可能感兴趣的

MySQL is so slow on Windows… Really? Last week a customer called me and reported that MySQL was 30 times slower ...
针对同时通过恶意邮件传播的Emotet和Trickbot的分析... 概述 Emotet 和 Trickbot 是针对Windows系统进行敏感信息窃取的恶意软件,它们普遍窃取的是银行相关的信息。这两个恶意软件通常情况下会通...
JavaScript面向对象之Windows对象 JavaScript之Window对象 首先我们先了解一个概念:事件。 事件,就是把一段代码设置好,满足条件时触发。或者说,事件是可以被 Java...
Bill Joy’s Law: 2^(Year-1984) Million Instructions... The peak computer speed doubles each year and thus is given by a simple func...
系统维护软件 CCleaner 遭植入后门,开发商 Piriform 发布最新版本... 【Technews科技新报】若您有在 8 月 15 日至 9 月 12 日期间于 CCleaner 开发商 Piriform 官网下载这套程序,您可...