Skip to content
React Native for macOS
JavaScript Java Objective-C C++ C Python Other
Branch: master
Clone or download
Pull request Compare This branch is 5259 commits behind ptmt:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
Examples
IntegrationTests
JSCLegacyProfiler
Libraries
React
ReactAndroid
ReactCommon
babel-preset
blog
bots
docs
flow
jestSupport
keystores
lib
local-cli
packager
react-native-cli
react-native-macos-cli
scripts
website
.buckconfig
.editorconfig
.eslintignore
.eslintrc
.flowconfig
.gitattributes
.gitignore
.npmignore
.travis.yml
CONTRIBUTING.md
LICENSE
LICENSE-CustomComponents
LICENSE-docs
LICENSE-examples
PATENTS
README.md
React.podspec
Releases.md
Windows
build.gradle
circle.yml
cli.js
package.json
react.gradle
rn-cli.config.js
runXcodeTests.sh

README.md

React Native for macOS (ex react-native-desktop)

Build macOS desktop apps using React Native and Cocoa.

Build Status npm version discord #react-native-platforms

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

Getting started

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

$ npm install react-native-macos-cli -g
$ react-native-macos init MyProject
$ cd MyProject
$ open macos/MyProject.xcodeproj

Since it's simply just a fork, you can follow the same instruction on facebook.github.io/react-native.

Disclaimer. Having previous experience with React Native highly recommended. There is no success story for any RN for macOS app yet, so it's not proven by production use.

Feel free to ask anything on #react-native-platforms channel if you run into problems.

Examples

Download UIExplorer

UIExplorer includes a set of examples and allows to you load external javascript bundle by http. Just copy&paste URL into SearchField.

screenshot 2016-03-31 21 06 33

screenshot 2016-03-31 21 00 30

screenshot 2015-10-24 16 40 36

Youtube play

You can’t perform that action at this time.