A framework for building native macOS apps with React.
Перейти к файлу
REDMOND\acoates afa7883ac1 Publish update 2019-08-22 15:35:49 -07:00
.ado Move publish to github actions (#147) 2019-08-22 15:11:00 -07:00
.appveyor put RN58 back 2019-03-28 13:44:57 -07:00
.circleci Merge a bunch of non-apple files - including circleci's config to get circleci builds running 2019-05-03 12:04:02 -07:00
.github Publish update 2019-08-22 15:35:49 -07:00
ContainerShip Merge a bunch of non-apple files - including circleci's config to get circleci builds running 2019-05-03 12:04:02 -07:00
Folly Reduce differences between our folly and facebook folly (#138) 2019-08-12 17:25:15 -07:00
IntegrationTests facebook 59.0 merge- with conflicts 2019-04-22 10:37:26 -07:00
Libraries ios 13 semantic and dynamic color support (#105) 2019-08-22 09:17:31 -07:00
RNTester ios 13 semantic and dynamic color support (#105) 2019-08-22 09:17:31 -07:00
React ios 13 semantic and dynamic color support (#105) 2019-08-22 09:17:31 -07:00
ReactAndroid Using libcpp to build RN (#143) 2019-08-22 14:22:18 +05:30
ReactApple Update publish logic 2019-05-21 11:29:56 -07:00
ReactCommon Replace unique_ptrs in ScriptStore.h with shared_ptrs. (#132) 2019-08-08 13:51:17 -07:00
bots put RN58 back 2019-03-28 13:44:57 -07:00
danger Initial commit of internal changes. 2019-03-01 10:09:07 -08:00
double-conversion Remove nmake (#112) 2019-07-17 13:13:16 -07:00
flow put RN58 back 2019-03-28 13:44:57 -07:00
flow-typed/npm remove deprecated utilities 2019-01-15 13:59:31 -08:00
follybuild Reduce differences between our folly and facebook folly (#138) 2019-08-12 17:25:15 -07:00
glog Remove nmake (#112) 2019-07-17 13:13:16 -07:00
gradle/wrapper Android initial merge 2019-05-02 18:28:47 +05:30
jest Remove some final uses of uwp (#137) 2019-08-12 17:25:03 -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
lib put RN58 back 2019-03-28 13:44:57 -07:00
local-cli Fix a bunch of flow errors 2019-06-04 12:45:50 -07:00
metadata Initial commit of internal changes. 2019-03-01 10:09:07 -08:00
packages/react-native-codegen Update script to parse all specs in folder 2019-02-11 15:18:39 -08:00
processor Remove nmake (#112) 2019-07-17 13:13:16 -07:00
scripts Remove some final uses of uwp (#137) 2019-08-12 17:25:03 -07:00
stubs/glog iOS 0.58.6 merge building, linking, running 2019-03-19 14:09:38 -07:00
template Merge a bunch of non-apple files - including circleci's config to get circleci builds running 2019-05-03 12:04:02 -07:00
third-party-podspecs put RN58 back 2019-03-28 13:44:57 -07:00
tools/build_defs put RN58 back 2019-03-28 13:44:57 -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 put RN58 back 2019-03-28 13:44:57 -07:00
.buckjavaargs
.clang-format Moving ObjC specific clang-format rules to the common config 2019-02-11 13:07:09 -08:00
.editorconfig put RN58 back 2019-03-28 13:44:57 -07:00
.eslintignore Split out docs to their own repo 2017-12-05 13:02:54 -08:00
.eslintrc put RN58 back 2019-03-28 13:44:57 -07:00
.flowconfig Merge a bunch of non-apple files - including circleci's config to get circleci builds running 2019-05-03 12:04:02 -07:00
.flowconfig.android Merge a bunch of non-apple files - including circleci's config to get circleci builds running 2019-05-03 12:04:02 -07:00
.gitattributes
.github.flowconfig.android Add test to sync RN github flow configs 2018-08-13 21:38:58 +01:00
.gitignore Rojain/launder (#116) 2019-07-26 14:10:55 +05:30
.nvmrc Add .nvmrc + fix node version for eslint 5 compat (#20109) 2018-07-31 02:34:16 -07:00
Brewfile Tomun/yaml (#4) 2019-03-04 13:27:54 -08: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
CMakeLists.txt Reduce differences between our folly and facebook folly (#138) 2019-08-12 17:25:15 -07:00
CODE_OF_CONDUCT.md put RN58 back 2019-03-28 13:44:57 -07:00
CONTRIBUTING.md put RN58 back 2019-03-28 13:44:57 -07:00
DockerTests.md put RN58 back 2019-03-28 13:44:57 -07:00
Jenkinsfile Container Testing Updates 2017-04-12 16:31:35 -07:00
LICENSE put RN58 back 2019-03-28 13:44:57 -07:00
LICENSE-docs
README.md facebook 59.0 merge- with conflicts 2019-04-22 10:37:26 -07:00
React.podspec put RN58 back 2019-03-28 13:44:57 -07:00
Releases.md put RN58 back 2019-03-28 13:44:57 -07:00
build.gradle Android initial merge 2019-05-02 18:28:47 +05:30
cli.js put RN58 back 2019-03-28 13:44:57 -07:00
gradlew fix gradle wrapper issue (#19976) 2018-08-13 21:38:57 +01:00
gradlew.bat put RN58 back 2019-03-28 13:44:57 -07:00
jest-preset.js Get android bundle building 2019-05-03 10:54:49 -07:00
package.json Applying package update to 0.59.0-microsoft.50 2019-08-22 22:25:13 +00:00
react.gradle Android initial merge 2019-05-02 18:28:47 +05:30
rn-cli.config.js Remove some final uses of uwp (#137) 2019-08-12 17:25:03 -07:00
rn-get-polyfills.js put RN58 back 2019-03-28 13:44:57 -07:00
runXcodeTests.sh put RN58 back 2019-03-28 13:44:57 -07:00
settings.gradle Android initial merge 2019-05-02 18:28:47 +05:30
yarn.lock Fix RCTBaseTextInputView.m to build for tvOS under. 2019-06-10 16:27:50 -07:00

README.md

Working fork for Microsoft internal usage

It is not our goal to have a long term fork of facebook/react-native/

The reasons for this fork to exist currently are 3 fold.

  1. Provide a staging ground for changes that Microsoft is submitting back to the main Facebook repo, such that our internal apps can share and validate these changes while the PRs go through the standard merge process with Facebook.
  2. A holding ground for our implementation of react-native for macOS. -- The eventual plan is to refactor a bunch of code within facebook/react-native to allow the macOS code to be implemented as an out of tree platform that works with the core react-native package. But currently the implementation shares so much logic with the iOS platform that it would involve a lot of code duplication to move it out. This process will take a while to work through but is the eventual goal.
  3. Hold various changes that we have made internally to support our apps, which we hope to revert as we update our internal code. But we are putting it all out here since other projects require this changes exist for now.

The eventual goal is for this fork to stop existing, or certainly have a much smaller delta between this fork and facebook/react-native.

React Native · Circle CI Status Build status npm version PRs Welcome

Learn once, write anywhere: Build mobile apps with React.

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


Requirements

Supported target operating systems are >= Android 4.1 (API 16) and >= iOS 9.0. You may use Windows, macOS, or Linux as your development operating system, though building and running iOS apps is limited to macOS by default (tools like Expo can be used to get around this).

Building your first React Native app

Follow the Getting Started guide. The recommended way to install React Native depends on your project. Here you can find short guides for the most common scenarios:

How React Native works

React Native lets you build mobile apps using JavaScript. It uses the same design as React, letting you compose a rich mobile UI from declarative components.

With React Native, you don't build a "mobile web app", an "HTML5 app", or a "hybrid app". You build a real mobile app that's indistinguishable from an app built using Objective-C, Java, Kotlin, or Swift. React Native uses the same fundamental UI building blocks as regular iOS and Android apps. You just put those building blocks together using JavaScript and React.

React Native lets you build your app faster. Instead of recompiling, you can reload your app instantly. With hot reloading, you can even run new code while retaining your application state.

React Native combines smoothly with components written in Objective-C, Java, Kotlin, or Swift. It's simple to drop down to native code if you need to optimize a few aspects of your application. It's also easy to build part of your app in React Native, and part of your app using native code directly - that's how the Facebook app works.

The focus of React Native is on developer efficiency across all the platforms you care about - learn once, write anywhere. Facebook uses React Native in multiple production apps and will continue investing in React Native. You can learn more about our open source roadmap in this blog post: Open Source Roadmap.

Full documentation

The full documentation for React Native can be found on our website. The source for the React Native documentation and website is hosted on a separate repo, https://github.com/facebook/react-native-website. Releases are discussed in the React Native Community, https://github.com/react-native-community/react-native-releases, and larger discussions and proposals are in https://github.com/react-native-community/discussions-and-proposals.

The React Native documentation only discusses the components, APIs, and topics specific to React Native (React on iOS and Android). For further documentation on the React API that is shared between React Native and React DOM, refer to the React documentation.

Join the React Native community

See the CONTRIBUTING file for how to help out.

License

React Native is MIT licensed, as found in the LICENSE file.

React Native documentation is Creative Commons licensed, as found in the LICENSE-docs file.