终于可以 npm i -g react-native-cli
发布于 10 年前 作者 okoala 10178 次浏览 最后一次编辑是 8 年前 来自 分享

React Native 正式开源了~~ React Native Home React Native Github

6 回复

swift白学了。。

这个牛逼,前端又无敌了

好棒! 前端跨平台先天性优势啊

React Native compiles apps written in Javascript into native views, providing the platform-specific look and feel on iOS and Android devices that users are accustomed to. This isn’t a web wrapper like you might be accustomed to; it’s real, native code that’s as performant as a fully native app.

Facebook already uses React Native to build some of its main apps: Facebook Groups, for example, uses React Native to render many of its views from React’s Javascript into native code.

The company says that React and React Native allows you to learn a single language and write code for any platform easily and efficiently.

When it announced the library initially, many developers were excited about the ability to write code in React Native and see the results in a few seconds, without re-compiling their entire app.

React Native is available from today, for free on Facebook’s Github page. Android support is not included in this release but is expected to be forthcoming.

感觉这东西比native script靠谱,原理有可能是把xib里xml compile了,然后利用javascript core

回到顶部