discover · compare · collections · requirements · contribute · feed · watching · stats · help with your tokens
ptmt/react-native-macos · source
Snapshot 0 · 2026-11-04T12:47:23Z · JavaScript · MIT
Content fingerprint
9d6e03e89971aa617ebc0fc35fd8ea9cd7d27060037f33a3c9e4a6f623dfa523GitHub description at capture
[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
README at capture
# 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.
----
[](https://travis-ci.org/ptmt/react-native-macos) [](https://badge.fury.io/js/react-native-macos) [](http://reactiflux.com)
```jsx
<View>
<Button onPress={() => alert('clicked!')} />
</View>
```
## 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)



## License
React Native is MIT licensed.