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阅读原文】。感谢您的支持!

您可能感兴趣的

react native 实现图片预览 图片保存 react-native-image-zoom-v... 图片 预览,和保存 功能 应该是很常见的APP 功能 。实现起来也很简单。 这里用到的组件是: https://github.com/ascoders/react-native-image-viewer 看下新效果图: ...
Ghacks Deals: The Premium PC Power Bundle (95% off... The Premium PC Power Bundle includes ten software programs for Windows. The bundle is worth it in my opinion if you want at least one of the prog...
在 Android 中集成 React Native 的经验分享 在之前的一篇博客中,Allen已经为大家介绍了React Native在Glow的应用以及大体架构。由于React Native库本身的一些原因,其在Android的成熟度远不及iOS,因此也给在Android的应用带来了更多的挑战。 在本文中,给大家分享一下在Android平台上集成Re...
react native 顶部控件 github地址:https://github.com/781238222/react-native-header-bar作者:mengks1987 发表于2017/8/2 15:38:22 原文链接阅读:13 评论:0 查看评论...
Running Redis on Windows 8.1 and Prior It's no secret that more developers code on Windows than any other OS. Every year, Stack Overflow shares its developer survey, and every year on...