• Stars
    star
    11,246
  • Rank 2,954 (Top 0.06 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 9 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

[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

Deprecation

The project is no longer maintained.

There is an Microsoft version: https://microsoft.github.io/react-native-windows/

You can run React Native on Catalyst react-native-community/discussions-and-proposals#131

React Native macOS (ex react-native-desktop)

Build macOS desktop applications using React Native.


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.

More Repositories

1

react-native-touchbar

TouchBar for react-native-macos
Objective-C
757
star
2

tryflow

(obsolete) Try a static type checker for JavaScript
JavaScript
30
star
3

inter-device-detox

Detox testing multiple devices interacting with each other
JavaScript
23
star
4

npm-native

(obsolete) postinstall npm helper for managing Xcode dependencies
JavaScript
20
star
5

flow-declarations

[obsolete] [incomplete] typed JavaScript interfaces for Facebook Flow
JavaScript
15
star
6

rnd-gl-example

react-native OS X app + gl-react-native
JavaScript
15
star
7

rnpm-plugin-apphub

Build, export and upload iOS app to AppHub Cloud
JavaScript
15
star
8

kotlin-react-native-example

Kotlin
14
star
9

using-async-storage-in-react-native

(in progress) React Native AsyncStorage limitations and tips & tricks
JavaScript
11
star
10

grunt-db-migrate

migrate database schema and data with db-migrate
JavaScript
10
star
11

twitter-contribution-chart

treating tweets as github contributions
JavaScript
4
star
12

cjsc

JavaScriptCore wrapper for Swift Package Manager
3
star
13

rn-android-keyboardavoidingview-padding

Objective-C
2
star
14

phinitive

phinitive.com repository
HTML
2
star
15

share-a-tab

instant sharing Chrome tabs, bypassing chats
JavaScript
2
star
16

react-native-swipable-deck

Proof of concept smooth deck implementation
JavaScript
2
star
17

ptmt.github.com

static site based on Jekyll
HTML
2
star
18

totify

F#
1
star
19

prism

Spy on yourself
JavaScript
1
star
20

tinynlp.fs

tiny library for natural russian language processing written in F#
F#
1
star
21

kotlin-slack-client

work in progress
CMake
1
star
22

anyring

Swift
1
star
23

sharepoint-schema-evolution

Data scheme evolution library inspired by ActiveRecord::Migrations for SharePoint
C#
1
star
24

afar

Eye training iOS app that lets you simulate reading things from afar
JavaScript
1
star
25

philosoraptor

twitter bot @prophetraptor
JavaScript
1
star
26

kevo

memory key-value backend for totify
F#
1
star
27

rsa_cipher

simple public-key encryption algorithm in fsharp
F#
1
star
28

words

Swift
1
star
29

mario

asynchronous http server based on IO Completion Port
F#
1
star