A framework for building native macOS apps with React.
Перейти к файлу
Office VSTS Default Agent 862667fdd3 Applying package update to 0.58.6-microsoft.61 2019-06-10 10:19:58 +00:00
.ado param requires double quotes instead of single (#82) 2019-06-03 12:07:13 +05:30
.appveyor put RN58 back 2019-03-28 13:44:57 -07:00
.circleci put RN58 back 2019-03-28 13:44:57 -07:00
.github Update publish logic 2019-05-21 11:29:56 -07:00
ContainerShip put RN58 back 2019-03-28 13:44:57 -07:00
Folly Remove accidental debug code (#75) 2019-05-22 23:29:51 -07:00
IntegrationTests put RN58 back 2019-03-28 13:44:57 -07:00
Libraries Pick up setUpGlobals.js change from bccc92dfdd (diff-3d750d038ea035cc40dd893c3a39e315) (#83) 2019-06-05 15:03:46 -07:00
RNTester Changed the showsVerticalScrollIndicator and showsHorizontalScrollIndicator default values on macOS to match iOS and Android. (#77) 2019-05-23 11:47:57 -07:00
React Changed the showsVerticalScrollIndicator and showsHorizontalScrollIndicator default values on macOS to match iOS and Android. (#77) 2019-05-23 11:47:57 -07:00
ReactAndroid Rojain/jsc (#84) 2019-06-10 15:47:49 +05:30
ReactApple Update publish logic 2019-05-21 11:29:56 -07:00
ReactCommon Removing Chakra specific hack from JSIExecutor (#66) 2019-05-15 14:44:18 -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 Sync from tenant (#43) 2019-04-08 13:05:10 -07:00
flow put RN58 back 2019-03-28 13:44:57 -07:00
flow-github put RN58 back 2019-03-28 13:44:57 -07:00
glog Deleting empty files for now, as they confuse our sync to internal (#63) 2019-05-13 20:48:06 +00:00
gradle/wrapper put RN58 back 2019-03-28 13:44:57 -07:00
jest put RN58 back 2019-03-28 13:44:57 -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 Update publish logic 2019-05-21 11:29:56 -07:00
metadata Initial commit of internal changes. 2019-03-01 10:09:07 -08:00
processor Sync from tenant (#43) 2019-04-08 13:05:10 -07:00
react-native-cli put RN58 back 2019-03-28 13:44:57 -07:00
react-native-git-upgrade put RN58 back 2019-03-28 13:44:57 -07:00
scripts put RN58 back 2019-03-28 13:44:57 -07:00
stubs/glog put RN58 back 2019-03-28 13:44:57 -07:00
template/android/app/src/debug put RN58 back 2019-03-28 13:44:57 -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 Revert "delete stale files from the 0.58.6 merge" 2019-04-01 12:34:31 -07: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 limiting BUCK's memory for CI 2016-02-01 10:49:33 -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 put RN58 back 2019-03-28 13:44:57 -07:00
.flowconfig.android put RN58 back 2019-03-28 13:44:57 -07:00
.gitattributes Added a .gitattributes file, ensuring that Bash script source files (gradlew and 2015-10-13 23:10:39 -04:00
.github.flowconfig.android Add test to sync RN github flow configs 2018-08-13 21:38:58 +01:00
.gitignore Update publish logic 2019-05-21 11:29:56 -07:00
.npmignore Initial commit of internal changes. 2019-03-01 10:09:07 -08:00
.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 sync from internal (#5) 2019-03-05 21:47:37 -08: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 More licenses 2015-03-24 19:59:10 -07:00
README.md put RN58 back 2019-03-28 13:44:57 -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 put RN58 back 2019-03-28 13:44:57 -07:00
cli.js put RN58 back 2019-03-28 13:44:57 -07:00
dirs Sync from tenant (#43) 2019-04-08 13:05:10 -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.json Initial commit of internal changes. 2019-03-01 10:09:07 -08:00
package.json Applying package update to 0.58.6-microsoft.61 2019-06-10 10:19:58 +00:00
react.gradle put RN58 back 2019-03-28 13:44:57 -07:00
rn-cli.config.js put RN58 back 2019-03-28 13:44:57 -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 put RN58 back 2019-03-28 13:44:57 -07:00
setupBabel.js put RN58 back 2019-03-28 13:44:57 -07:00
yarn.lock This change updates react dependencies (#67) 2019-05-17 07:02:08 -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.

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.

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.