A framework for building native macOS apps with React.
Перейти к файлу
HeyImChris f94d14d496
Remove the art lib from our nuget pack command (#600)
* Update RCTCxxBridge.mm

* remove art lib

* remove art lib
2020-09-16 15:00:27 -07:00
.ado [ado] Get rid of trailing quote in npm dist-tag (#585) 2020-09-08 19:09:19 +02:00
.appveyor Merge react-native 0.61-stable (#323) 2020-04-28 11:49:15 -07:00
.circleci Merge remote-tracking branch 'origin/master' into fb62merge 2020-05-07 20:11:26 -07:00
.github Merge branch 'master' into fb62merge 2020-08-11 16:32:48 +02:00
Folly Add postInstall step to restore the executable bit on scripts. (#244) 2020-01-29 17:59:18 -08:00
IntegrationTests Removed merge conflict markers up to and including Libraries/Image 2020-04-30 17:49:51 -07:00
Libraries Fix passthrough props on TouchableWithoutFeedback (#592) 2020-09-10 18:37:34 +02:00
RNTester Port REACT_MODULE() from react-native-windows to react-native-macos (1/4) (#595) 2020-09-14 12:57:45 -07:00
React Fix reloading from dev menu (#594) 2020-09-11 11:06:37 +02:00
ReactAndroid Fixing Android build break after Hermes+MAC/iOS integration 2020-08-17 17:58:28 -07:00
ReactApple Remove the art lib from our nuget pack command (#600) 2020-09-16 15:00:27 -07:00
ReactCommon reduce minimum macOS SDK version to 10.13 (#555) 2020-08-26 13:09:16 +02:00
android-patches Port REACT_MODULE() from react-native-windows to react-native-macos (1/4) (#595) 2020-09-14 12:57:45 -07:00
bots Fix macOS Alert API issues (#355) 2020-05-11 16:24:12 -07:00
danger lint fixes 2019-09-18 16:37:05 -07:00
docs Remove remaining merge marker and begin on flow/build issues 2020-05-10 17:52:09 -07:00
double-conversion Remove nmake (#112) 2019-07-17 13:13:16 -07:00
flow Removed merge conflict markers up to and including Libraries/Image 2020-04-30 17:49:51 -07:00
flow-typed/npm Convert easy files to flow strict-local 2019-12-05 16:06:46 -08:00
follybuild Reduce differences between our folly and facebook folly (#138) 2019-08-12 17:25:15 -07:00
glog Add postInstall step to restore the executable bit on scripts. (#244) 2020-01-29 17:59:18 -08:00
gradle/wrapper Removed merge conflict markers up to and including Libraries/Image 2020-04-30 17:49:51 -07:00
jest Removed merge conflict markers up to and including Libraries/Image 2020-04-30 17:49:51 -07:00
jsc Initial commit of internal changes. 2019-03-01 10:09:07 -08:00
keystores put RN58 back 2019-03-28 13:44:57 -07:00
local-cli [template] Hermes is a runtime dependency (#561) 2020-08-26 13:47:21 +00:00
metadata Initial commit of internal changes. 2019-03-01 10:09:07 -08:00
packages Add beachball no publish flag. 2020-08-18 15:51:46 +02:00
processor Moving the android specific changes to patch files and reverting them… (#254) 2020-03-18 18:20:08 -07:00
scripts Get on that release train (#565) 2020-09-01 15:40:54 +02:00
stubs/glog put RN58 back 2019-03-28 13:44:57 -07:00
template [Pods] Namespace RN's copy of Folly 2020-07-23 23:09:55 +02:00
third-party-podspecs Make "Snapshot/Screenshot" test page works (#546) 2020-08-26 10:44:29 -07:00
tools/build_defs Resolved more merge conflicts. 2020-04-30 20:33:02 -07:00
v8-docker-build Initial commit of internal changes. 2019-03-01 10:09:07 -08:00
website/server Initial commit of internal changes. 2019-03-01 10:09:07 -08:00
.buckconfig Migrate to FBJNI (#27729) 2020-02-05 11:02:13 +00:00
.buckjavaargs limiting BUCK's memory for CI 2016-02-01 10:49:33 -08:00
.clang-format Moving ObjC specific clang-format rules to the common config 2019-02-11 13:07:09 -08:00
.editorconfig Merge react-native 0.61-stable (#323) 2020-04-28 11:49:15 -07:00
.eslintignore Add `react-native-macos-init` for adding macOS apps to existing `react-native init` projects. (#291) 2020-04-01 17:22:01 -07:00
.eslintrc Removed merge conflict markers up to and including Libraries/Image 2020-04-30 17:49:51 -07:00
.flowconfig `yarn flow-check-ios` is now clean. 2020-08-02 14:32:39 -07:00
.flowconfig.android `yarn flow-check-ios` is now clean. 2020-08-02 14:32:39 -07:00
.flowconfig.macos `yarn flow-check-ios` is now clean. 2020-08-02 14:32:39 -07:00
.gitattributes react-native-macos npm publishing with CRLF text files (#331) 2020-05-01 14:05:53 -07:00
.github.flowconfig.android 'Re-sync with internal repository' 2018-08-16 16:16:49 -07:00
.gitignore Removed merge conflict markers up to and including Libraries/Image 2020-04-30 17:49:51 -07:00
.nvmrc Add .nvmrc + fix node version for eslint 5 compat (#20109) 2018-07-31 02:34:16 -07:00
.prettierignore Moving the android specific changes to patch files and reverting them… (#254) 2020-03-18 18:20:08 -07:00
.prettierrc Set the Prettier config so it is not forced on users of @react-native-community/eslint-config (#24635) 2019-04-29 09:44:51 -07:00
Brewfile Fix crash in NSLayoutManager during autorelease dealloc (#523) 2020-07-28 15:49:41 -07:00
Brewfile.lock.json Fix crash in NSLayoutManager during autorelease dealloc (#523) 2020-07-28 15:49:41 -07:00
CHANGELOG.json sync from internal (#6) 2019-03-07 14:57:20 -08:00
CHANGELOG.md sync from internal (#6) 2019-03-07 14:57:20 -08:00
CODE_OF_CONDUCT.md Adopt Contributor Covenant 2019-08-29 23:21:10 -07:00
CONTRIBUTING.md Contribution doc for RN62 (#598) 2020-09-15 14:06:07 -07:00
ECOSYSTEM.md Add document describing the RN ecosystem. (#24493) 2019-04-17 09:06:37 -07:00
KeepingRecent.md fix up some minor spacing issues with the numbering indentations (#213) 2020-01-03 14:17:03 -08:00
LICENSE put RN58 back 2019-03-28 13:44:57 -07:00
LICENSE-docs More licenses 2015-03-24 19:59:10 -07:00
README.md reduce minimum macOS SDK version to 10.13 (#555) 2020-08-26 13:09:16 +02:00
React-Core.podspec reduce minimum macOS SDK version to 10.13 (#555) 2020-08-26 13:09:16 +02:00
React.podspec reduce minimum macOS SDK version to 10.13 (#555) 2020-08-26 13:09:16 +02:00
Releases.md put RN58 back 2019-03-28 13:44:57 -07:00
build.gradle.kts Resolving android sources 2020-04-29 22:54:16 -07:00
cli.js Show full price instead of monthly price within the lead form 2019-03-28 16:07:19 -07:00
gradlew Update Gradle wrapper to 5.6.2 (#26349) 2019-09-06 00:25:53 -07:00
gradlew.bat Update Gradle wrapper to 5.6 (#26079) 2019-08-26 12:13:37 -07:00
index.js `yarn flow-check-ios` is now clean. 2020-08-02 14:32:39 -07:00
interface.js Move `react-native-implementation.js` to `index.js` 2019-09-12 03:29:51 -07:00
jest-preset.js fix yarn tests (#351) 2020-05-07 17:18:38 -07:00
jest.config.js Fix lint tests. 2020-08-07 08:31:32 +02:00
metro.config.js Merge remote-tracking branch 'origin/master' into fb62merge 2020-05-07 20:11:26 -07:00
package.json [ado] Don't tag nightly releases (#570) 2020-09-02 12:54:12 +02:00
react-native.config.js Provide information to metro to redirect to rn-macos when building macos (#587) 2020-09-14 20:12:17 +02:00
react.gradle Resolving android sources 2020-04-29 22:54:16 -07:00
rn-get-polyfills.js Remove Polyfills from RN Open Source 2019-04-04 15:20:33 -07:00
runXcodeTests.sh Merge react-native 0.61-stable (#323) 2020-04-28 11:49:15 -07:00
settings.gradle.kts Moving the android specific changes to patch files and reverting them… (#254) 2020-03-18 18:20:08 -07:00
template.config.js Tidy up license headers [3/n] 2019-10-16 10:06:34 -07:00
yarn.lock Provide information to metro to redirect to rn-macos when building macos (#587) 2020-09-14 20:12:17 +02:00

README.md

React Native for macOS

Build native macOS apps with React.

React Native for macOS is released under the MIT license. Current npm package version. PRs welcome!

See the official React Native website for an introduction to React Native.

React Native is a framework developed by Facebook that enables you to build world-class application experiences on native platforms using a consistent developer experience based on JavaScript and React. The focus of React Native is on developer efficiency across all the platforms you care about - learn once, write anywhere.

This repository is a working fork of facebook/react-native that adds support for the official React Native for macOS implementation from Microsoft.

You can read more about the macOS implementation in our website - React Native for Windows + macOS

Contents

Requirements

You can run React Native for macOS apps on Mac devices with versions High Sierra (10.13) or newer.

For a full and detailed list of the system requirements and how to set up your development platform, see our System Requirements documentation on our website.

Getting Started

See the Getting Started Guide on our React Native for Windows + macOS website to build your first React Native for macOS app.

Logging Issues

Search the existing issues and try to make sure your problem doesnt already exist before opening a new issue. If your issue doesn't exist yet, try to make sure you provide as much information as possible to us so we can help you sooner. Its helpful if you include information like:

  • The version of macOS, React Native, React Native macOS extension where you ran into the issue.
  • A stack trace and reduced repro case when possible.
  • Ensure the appropriate template is used when filing your issue(s).

Contributing

See Contributing guidelines for how to setup your fork of the repo and start a PR to contribute to React Native for macOS.

Good First Issue and help wanted are great starting points for PRs.

Documentation

React Native already has great documentation and we're working to ensure the React Native for Windows + macOS are part of that documentation story.

React Native for Windows + macOS has it's own separate documentation site where Windows and macOS specific information, like API docs and blog updates live. We are bootstrapping documentation for macOS at this time, tune in for updates.

Examples

  • Using the CLI in the Getting Started guide will set you up with a sample React Native for macOS app that you can begin editing right away.
  • If you're looking for sample code, just browse the RNTester folder for examples

License

The React Native for macOS extension, including modifications to the original Facebook source code, and all newly contributed code is provided under the MIT License. Portions of the React Native for macOS extension derived from React Native are copyright Facebook.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.