The Wayback Machine - https://web.archive.org/web/20200203182442/https://github.com/facebook/react-native
Skip to content
A framework for building native apps with React.
JavaScript Java C++ Objective-C Objective-C++ Starlark Other
Branch: master
Clone or download
sammy-SC and facebook-github-bot Use ShadowNodeFamily in state updates
Summary:
Changelog: [internal]

`ShadowNodeFamily` can be used as target in state updates instead of `ShadowNode`.

Reviewed By: shergin

Differential Revision: D19517428

fbshipit-source-id: 6831357e749239d5afec1dfd2d44a26ca6553e51
Latest commit 595e954 Feb 3, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.appveyor Bump Android build-tools to 29.0.2, compileSdk to 29 Jan 23, 2020
.circleci Bump Android build-tools to 29.0.2, compileSdk to 29 Jan 23, 2020
.github Issue Template: Add Needs Triage label to new issues (#27842) Jan 29, 2020
IntegrationTests v0.115 in xplat/js Jan 7, 2020
Libraries Fix indentation of inline snapshots in tests Feb 3, 2020
RNTester Make RCTTestModule TurboModule-compatible Feb 1, 2020
React Implement RCTFabricSurface.synchronouslyWaitForStage Jan 30, 2020
ReactAndroid Add new DoNotStrip class to proguard config (#27934) Feb 3, 2020
ReactCommon Use ShadowNodeFamily in state updates Feb 3, 2020
bots Bots cleanup, avoid leaving inline reviews when N>5 (#24923) May 22, 2019
docs Generate doc info for RN components Sep 20, 2019
flow-typed/npm create-react-class is no longer used by RN, so it can be removed (#27861 Jan 29, 2020
flow Move flow definitions to react-native Dec 6, 2019
gradle/wrapper Update Gradle Wrapper to 6.1.1 (#27865) Jan 29, 2020
jest exact-by-default in xplat/js Dec 9, 2019
keystores Use fb_native_wrapper for all targets Oct 31, 2018
local-cli Update references to the CLI (#23052) Jan 21, 2019
packages Add URLSearchParams and Headers to eslint globals (#27853) Jan 27, 2020
scripts Bump Android build-tools to 29.0.2, compileSdk to 29 Jan 23, 2020
template Upgrade all dependencies in package.json template (#27928) Feb 3, 2020
third-party-podspecs Upgrade Folly to v2020.01.13.00 (#27810) Jan 21, 2020
tools/build_defs fix android ci from fbobjc_target_sdk_version (#27919) Jan 31, 2020
.buckconfig Migrate to FBJNI (#27729) Jan 21, 2020
.buckjavaargs limiting BUCK's memory for CI Feb 1, 2016
.clang-format Moving ObjC specific clang-format rules to the common config Feb 11, 2019
.editorconfig https link to EditorConfig.org (#25267) Jun 18, 2019
.eslintignore Clear some lint warnings (#27893) Jan 29, 2020
.eslintrc Move error-subclass-name lint rule to GitHub Oct 9, 2019
.flowconfig Deploy Flow v0.117.0 to xplat Jan 28, 2020
.flowconfig.android Deploy Flow v0.117.0 to xplat Jan 28, 2020
.gitattributes Added a .gitattributes file, ensuring that Bash script source files (… Oct 14, 2015
.gitignore Add Android dot files to .gitignore (#27589) Dec 27, 2019
.nvmrc Add .nvmrc + fix node version for eslint 5 compat (#20109) Jul 31, 2018
.prettierrc Set the Prettier config so it is not forced on users of @react-native… Apr 29, 2019
CODE_OF_CONDUCT.md Adopt Contributor Covenant Aug 30, 2019
CONTRIBUTING.md Linking to the ReactJS code of conduct. (#26725) Oct 4, 2019
ECOSYSTEM.md Add document describing the RN ecosystem. (#24493) Apr 17, 2019
LICENSE Update copyright headers to yearless format Sep 11, 2018
LICENSE-docs More licenses Mar 25, 2015
README.md Deprecate iOS 9 in readme (#27670) Jan 7, 2020
React-Core.podspec Upgrade Folly to v2020.01.13.00 (#27810) Jan 21, 2020
React.podspec iOS: Deprecate iOS 9 / tvOS 9 SDK support Jan 2, 2020
Releases.md Fix typo in Releases.md (#20487) Aug 1, 2018
build.gradle.kts Update Android Gradle plugin to 3.5.3 (#27462) Dec 11, 2019
cli.js Show full price instead of monthly price within the lead form Mar 28, 2019
gradlew Applied missing changes from bumping Gradle wrapper to 6.0.1 (#27639) Jan 13, 2020
gradlew.bat Update Gradle wrapper to 5.6 (#26079) Aug 26, 2019
index.js Lean Core: add warnings for extracted components (#27929) Feb 3, 2020
interface.js Move `react-native-implementation.js` to `index.js` Sep 12, 2019
jest-preset.js Delete hasteImpl, providesModuleNodeModules, and modulePathNameMapper ( Jun 5, 2019
jest.config.js Tidy up license headers [3/n] Oct 16, 2019
metro.config.js fix warning of root metro config (#27883) Jan 29, 2020
package.json Upgrade Jest to 24.9.0 Feb 3, 2020
react-native.config.js Tidy up license headers [2/n] Oct 16, 2019
react.gradle fix: Bundle assets in monorepo (#26940) Nov 5, 2019
rn-get-polyfills.js Remove Polyfills from RN Open Source Apr 4, 2019
runXcodeTests.sh Move non-license comments out of license header Oct 16, 2019
settings.gradle.kts Tidy up license headers Oct 22, 2019
template.config.js Tidy up license headers [3/n] Oct 16, 2019
yarn.lock Upgrade Jest to 24.9.0 Feb 3, 2020

README.md

React Native

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

React Native is released under the MIT license. Current CircleCI build status. Current Appveyor build status. Current npm package version. PRs welcome! Follow @reactnative

Getting Started · Learn the Basics · Showcase · Contribute · Community · Support

React Native brings React's declarative UI framework to iOS and Android. With React Native, you use native UI controls and have full access to the native platform.

  • Declarative. React makes it painless to create interactive UIs. Declarative views make your code more predictable and easier to debug.
  • Component-Based. Build encapsulated components that manage their state, then compose them to make complex UIs.
  • Developer Velocity. See local changes in seconds. Changes to JavaScript code can be live reloaded without rebuilding the native app.
  • Portability. Reuse code across iOS, Android, and other platforms.

React Native is developed and supported by many companies and individual core contributors. Find out more in our ecosystem overview.

Contents

📋 Requirements

React Native apps may target iOS 10.0 and Android 4.1 (API 16) or newer. You may use Windows, macOS, or Linux as your development operating system, though building and running iOS apps is limited to macOS. Tools like Expo can be used to work 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:

📖 Documentation

The full documentation for React Native can be found on our website.

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

The source for the React Native documentation and website is hosted on a separate repo, @facebook/react-native-website.

🚀 Upgrading

Upgrading to new versions of React Native may give you access to more APIs, views, developer tools, and other goodies. See the Upgrading Guide for instructions.

React Native releases are discussed in the React Native Community, @react-native-community/react-native-releases.

👏 How to Contribute

The main purpose of this repository is to continue evolving React Native core. We want to make contributing to this project as easy and transparent as possible, and we are grateful to the community for contributing bug fixes and improvements. Read below to learn how you can take part in improving React Native.

Code of Conduct

Facebook has adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.

Contributing Guide

Read our Contributing Guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to React Native.

Open Source Roadmap

You can learn more about our vision for React Native in the Roadmap.

Good First Issues

We have a list of good first issues that contain bugs which have a relatively limited scope. This is a great place to get started, gain experience, and get familiar with our contribution process.

Discussions

Larger discussions and proposals are discussed in @react-native-community/discussions-and-proposals.

📄 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.

You can’t perform that action at this time.