A framework for building native apps with React.
Switch branches/tags
Clone or download
sahrens and facebook-github-bot Back out "reapply TextInput es6 conversion with fixes, attemps to fix"
Summary:
Back it out again. This time really not sure why this is breaking, but it seems to be production only. The error seems to be "RCTSinglelineTextInputView" was not found in the UIManager" but the relavent logic is not changed in this diff, just moved around, so unclear why it would trigger a failure.

Reverting to be safe. When we re-apply the diff, we'll need to test a full OTA to prod to verify the fix.

Reviewed By: blairvanderhoof

Differential Revision: D13108463

fbshipit-source-id: 5f877a0c1a08dc114ce45921d6d92bf619575977
Latest commit 6f34bc4 Nov 16, 2018
Permalink
Failed to load latest commit information.
.circleci bump buck to 2018.10.29.01. fixes Android CI (#22049) Nov 1, 2018
.github Make PR template consistent with Changelog (#22117) Nov 4, 2018
ContainerShip Fix linting issues (#22062) Nov 1, 2018
IntegrationTests Fix inline styles in IntegrationTests (#22165) Nov 6, 2018
Libraries Back out "reapply TextInput es6 conversion with fixes, attemps to fix" Nov 16, 2018
RNTester JS: Switch from `new Buffer` to `Buffer.from` Nov 15, 2018
React Defining explicit clang-format for Objective-C part of React Native Nov 16, 2018
ReactAndroid resizeMode applies to Image.defaultSource (#22216) Nov 16, 2018
ReactCommon CxxReact: Silence 'unused lambda capture' warnings in open-source (#2… Nov 16, 2018
android-jsc RN: Missing Copyright Headers Oct 31, 2018
bots Make PR template consistent with Changelog (#22117) Nov 4, 2018
flow-github Update React Native OSS Yarn and Gradle caches Nov 14, 2018
flow Prettify remaining unprettified files (#21327) Sep 26, 2018
gradle/wrapper fix gradle wrapper issue (#19976) Aug 8, 2018
jest Back out "reapply TextInput es6 conversion with fixes, attemps to fix" Nov 16, 2018
keystores Use fb_native_wrapper for all targets Oct 31, 2018
lib Update copyright headers to yearless format Sep 11, 2018
local-cli Flow v0.86.0 in xplat/js Nov 16, 2018
react-native-cli Fix rn-cli linting issues (#22099) Nov 5, 2018
react-native-git-upgrade Update copyright headers to yearless format Sep 11, 2018
scripts Remove unused variables (#22097) Nov 4, 2018
third-party-podspecs RN: Missing Copyright Headers Oct 31, 2018
tools/build_defs RN: Missing Copyright Headers Oct 31, 2018
.buckconfig Use Android SDK 27 in React Native Sep 20, 2018
.buckjavaargs limiting BUCK's memory for CI Feb 1, 2016
.editorconfig editorconfig: Set indent_size for BUCK files to 4 (#21554) Oct 9, 2018
.eslintignore Split out docs to their own repo Dec 5, 2017
.eslintrc Add no-dupe-class-members to RN ESLint fonfig Oct 26, 2018
.flowconfig Flow v0.86.0 in xplat/js Nov 16, 2018
.flowconfig.android Flow v0.86.0 in xplat/js Nov 16, 2018
.gitattributes Added a .gitattributes file, ensuring that Bash script source files (… Oct 14, 2015
.gitignore Check Flow and run basic packager tests using open source RN config Aug 9, 2018
.npmignore Update .npmignore to include generated bundle file Feb 3, 2017
.nvmrc Add .nvmrc + fix node version for eslint 5 compat (#20109) Jul 31, 2018
CODE_OF_CONDUCT.md Update repo documentation to match other Facebook projects Sep 11, 2018
CONTRIBUTING.md Update repo documentation to match other Facebook projects Sep 11, 2018
DockerTests.md Fix npm commands in DockerTests.md (#21758) Oct 12, 2018
Jenkinsfile Container Testing Updates Apr 12, 2017
LICENSE Update copyright headers to yearless format Sep 11, 2018
LICENSE-docs More licenses Mar 25, 2015
README.md Update links & Add Code of Conduct (#21296) Sep 24, 2018
React.podspec Upgrade folly to v2018.10.22.00 for iOS (#21976) Oct 29, 2018
Releases.md Fix typo in Releases.md (#20487) Aug 1, 2018
appveyor.yml bump Android NDK to r17c (#21628) Oct 12, 2018
build.gradle gradle repo priority (#22041) Oct 31, 2018
cli.js Update copyright headers to yearless format Sep 11, 2018
gradlew fix gradle wrapper issue (#19976) Aug 8, 2018
gradlew.bat Add missing copyright headers (#21000) Sep 7, 2018
jest-preset.json Fix jest snapshot testing on windows May 31, 2018
package.json Flow v0.86.0 in xplat/js Nov 16, 2018
react.gradle Fix incorrect merged asset path with flavor for Android Gradle Plugin… Oct 31, 2018
rn-cli.config.js Update copyright headers to yearless format Sep 11, 2018
rn-get-polyfills.js Remove global babelHelpers and regenerator (#21283) Sep 26, 2018
runXcodeTests.sh Update copyright headers to yearless format Sep 11, 2018
settings.gradle add x86_64 arm64-v8a support. Fixes #2814 (#18754) Sep 24, 2018
setupBabel.js Update copyright headers to yearless format Sep 11, 2018
yarn.lock Flow v0.86.0 in xplat/js Nov 16, 2018

README.md

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.