Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ptmt/react-native-macos
[deprecated in favor of https://microsoft.github.io/react-native-windows/] React Native for macOS is an experimental fork for writing desktop apps using Cocoa
https://github.com/ptmt/react-native-macos
Last synced: 2 days ago
JSON representation
[deprecated in favor of https://microsoft.github.io/react-native-windows/] React Native for macOS is an experimental fork for writing desktop apps using Cocoa
- Host: GitHub
- URL: https://github.com/ptmt/react-native-macos
- Owner: ptmt
- License: mit
- Created: 2015-10-04T15:22:01.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-02-13T08:45:11.000Z (10 months ago)
- Last Synced: 2024-10-29T11:44:42.953Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 81.5 MB
- Stars: 11,244
- Watchers: 226
- Forks: 429
- Open Issues: 74
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-react-native - react-native-macos ★10453 - React Native for OS X (Components / Other Platforms)
- awesome-list - react-native-macos - native-windows/] React Native for macOS is an experimental fork for writing desktop apps using Cocoa | ptmt | 11391 | (JavaScript)
- react-native-awesome - react-native-macos
- awesome-starred-test - ptmt/react-native-macos - [deprecated in favor of https://microsoft.github.io/react-native-windows/] React Native for macOS is an experimental fork for writing desktop apps using Cocoa (JavaScript)
- awesome-react-native - react-native-macos
- ReactNativeMaterials - react-native-macos
- awesome - react-native-macos - React Native for macOS is an experimental fork for writing desktop apps using Cocoa (JavaScript)
README
# Deprecation #
The project is no longer maintained.
There is an Microsoft version: [https://microsoft.github.io/react-native-windows/](https://microsoft.github.io/react-native-windows/)
You can run React Native on Catalyst [https://github.com/react-native-community/discussions-and-proposals/issues/131](https://github.com/react-native-community/discussions-and-proposals/issues/131)
# React Native macOS (ex react-native-desktop)
Build macOS desktop applications using React Native.
----
[![Build Status](https://travis-ci.org/ptmt/react-native-macos.svg)](https://travis-ci.org/ptmt/react-native-macos) [![npm version](https://badge.fury.io/js/react-native-macos.svg)](https://badge.fury.io/js/react-native-macos) [![discord #react-native-platforms](https://img.shields.io/badge/reactiflux-%23react--native--platforms-blue.svg)](http://reactiflux.com)
```jsx
alert('clicked!')} />
```
## Getting Started
Node 4.x+, OS X 10.11+ required.
_Previous React Native experience is highly recommended_.
```bash
$ 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](https://gist.github.com/ptmt/b1473dead098cf53d667e355aedf2a7b) in the root.
## Documentation
Since React Native macOS is just a fork, you can follow [the same instructions on the React Native Documentation](http://facebook.github.io/react-native/docs/getting-started.html#content).
## 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](https://stackoverflow.com/) and tag it with `react-native-macos`
- Chat with us on [Reactiflux](https://discord.gg/0ZcbPKXt5bWJVmUY) 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](https://github.com/ptmt/react-native-macos/files/199128/UIExplorer.zip)
![screenshot 2016-03-31 21 06 33](https://cloud.githubusercontent.com/assets/1004115/14185918/91648d8c-f784-11e5-82b6-fcd08b74b89a.png)
![screenshot 2016-03-31 21 00 30](https://cloud.githubusercontent.com/assets/1004115/14185806/1cd2dfdc-f784-11e5-8c14-de0ca21f7ead.png)
![screenshot 2015-10-24 16 40 36](https://cloud.githubusercontent.com/assets/1004115/14185895/7c133eb0-f784-11e5-8e3c-ca36aa351a26.png)
## License
React Native is MIT licensed.