Coder Social home page Coder Social logo

cnsuhao / react-native-macos Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ptmt/react-native-macos

0.0 1.0 0.0 82.41 MB

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

License: MIT License

JavaScript 36.44% Shell 0.52% Objective-C 18.99% HTML 1.62% CSS 0.01% Objective-C++ 3.16% C 0.45% Python 1.08% Java 28.36% Ruby 0.15% C++ 8.97% Assembly 0.15% IDL 0.01% Prolog 0.01% Makefile 0.07% Kotlin 0.01% Batchfile 0.01%

react-native-macos's Introduction

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.

react-native-macos's People

Contributors

javache avatar vjeux avatar ptmt avatar nicklockwood avatar sahrens avatar tadeuzagallo avatar davidaurelio avatar frantic avatar shergin avatar bestander avatar hramos avatar martinbigio avatar mkonicek avatar ide avatar janicduplessis avatar aaronechiu avatar astreet avatar andreicoman11 avatar cpojer avatar sophiebits avatar foghina avatar korden avatar mhorowitz avatar brentvatne avatar kmagiera avatar satya164 avatar yungsters avatar lexs avatar sunnylqm avatar alexeylang avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.