react-native-macos

React Native for macOS is an experimental fork for writing desktop apps using Cocoa

  • 所有者: ptmt/react-native-macos
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

React Native macOS (ex react-native-desktop)

Build macOS desktop applications using React Native.


Project Catalyst (macOS 10.15+)

As Apple announced Project Catalyst it does make sense to use just the React Native with macOS target enabled. The details will come soon.


Build Status npm version discord #react-native-platforms

<View>
  <Button onPress={() => alert('clicked!')} />
</View>

Getting Started

Node 4.x+, OS X 10.11+ required.

Previous React Native experience is highly recommended.

$ npm install react-native-macos-cli -g
$ react-native-macos init MyProject
$ cd MyProject
$ react-native-macos run-macos

If you want to add macOS target to the existing iOS/Android/Windows project, make the steps above, merge this new folder into your current React Native project, then put rn-cli.config.js in the root.

Documentation

Since React Native macOS is just a fork, you can follow the same instructions on the React Native Documentation.

Disclaimer

React Native macOS is a fork of React Native for iOS. The project is still a fairly new so proceed at your own risk.

Community Help

Please use these community resources for getting help. We use the GitHub issues for tracking bugs and feature requests and have limited bandwidth to address them.

  • Ask a question on StackOverflow and tag it with react-native-macos
  • Chat with us on Reactiflux in #react-native-platforms (mentioning @ptmt)
  • DM @ptmt on twitter

Examples

RNTesterApp

RNTesterApp includes a set of component examples that illustrate their functionality. It also allows you to load external JavaScript bundle files through HTTP. Just copy and paste a URL into the Search Field.

Download UIExplorer

screenshot 2016-03-31 21 06 33

screenshot 2016-03-31 21 00 30

screenshot 2015-10-24 16 40 36

License

React Native is MIT licensed.

主要指标

概览
名称与所有者ptmt/react-native-macos
主编程语言JavaScript
编程语言Objective-C (语言数: 15)
平台
许可证MIT License
所有者活动
创建于2015-10-04 15:22:01
推送于2024-02-13 08:45:11
最后一次提交2024-02-13 09:43:59
发布数9
最新版本名称v0.14.0 (发布于 )
第一版名称v0.2.0 (发布于 )
用户参与
星数11.2k
关注者数225
派生数428
提交数13k
已启用问题?
问题数173
打开的问题数46
拉请求数64
打开的拉请求数28
关闭的拉请求数16
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?