A framework for building native applications using React
Go to file
Pieter Vanderwerff a4920ed909 Deploy 0.142.0 to xplat
Reviewed By: Hans-Halverson

Differential Revision: D25839306

fbshipit-source-id: 8d59a57647ce33b17f7e006d5ab14916f80ff044
2021-01-07 17:26:45 -08:00
.circleci WIP: Add an explicit NDK version to RNTester and ReactAndroid (#29987) 2021-01-04 09:15:08 -08:00
.github
bots Add Java linting using google-java-format (#30444) 2020-12-07 03:12:35 -08:00
docs
flow RN: Remove fbjs Dependency 2020-08-28 12:16:26 -07:00
flow-typed/npm Remove license header from third-party code 2020-10-02 18:04:21 -07:00
gradle/wrapper Bump Gradle Wrapper to 6.7 (#30200) 2020-10-27 23:35:51 -07:00
IntegrationTests feat: Enable Hermes to work on iOS (#29914) 2020-11-03 01:14:38 -08:00
jest RN: Add NativeComponentRegistry.getWithFallback_DEPRECATED 2020-11-20 18:53:14 -08:00
keystores
Libraries Land suppressions for 0.142.0 release to xplat 2021-01-07 11:33:45 -08:00
local-cli
packages Revert D25746024: Refactor initialization of Fabric to avoid loading UIManagerModule 2021-01-06 21:37:24 -08:00
React fix: incorrect ScrollView offset on update (#30647) 2021-01-05 11:06:30 -08:00
ReactAndroid Revert D25746024: Refactor initialization of Fabric to avoid loading UIManagerModule 2021-01-06 21:37:24 -08:00
ReactCommon Make EventQueue a virtual class 2021-01-07 13:42:24 -08:00
repo-config Deploy 0.142.0 to xplat 2021-01-07 17:26:45 -08:00
scripts remove -javadoc.jar, -sources.jar from NPM package validation (#30686) 2021-01-05 17:44:51 -08:00
template Deploy 0.142.0 to xplat 2021-01-07 17:26:45 -08:00
third-party-podspecs Fix use_framework RNTester crash (#30520) 2020-12-03 16:01:47 -08:00
tools/build_defs fix Android CI - autoglob (#30652) 2020-12-28 13:49:51 -08:00
.buckconfig Fix RNTester Path (#29786) 2020-09-01 18:47:08 -07:00
.buckjavaargs
.clang-format
.editorconfig
.eslintignore Lint: fix few "no-unused-var" warnings for imports (#30157) 2020-10-26 17:19:14 -07:00
.eslintrc Open source react-native-modules ESLint rule 2020-09-22 11:32:37 -07:00
.flowconfig Deploy 0.142.0 to xplat 2021-01-07 17:26:45 -08:00
.flowconfig.android Deploy 0.142.0 to xplat 2021-01-07 17:26:45 -08:00
.gitignore Update iOS Fabric-related files to compile on OSS (#29810) 2020-12-22 08:36:22 -08:00
.nvmrc
.prettierrc Update various Xplat Prettier configs to specify arrowParens: avoid 2020-09-14 18:36:20 -07:00
build.gradle.kts WIP: Add an explicit NDK version to RNTester and ReactAndroid (#29987) 2021-01-04 09:15:08 -08:00
cli.js
CODE_OF_CONDUCT.md
CONTRIBUTING.md Fix RNTester Path (#29786) 2020-09-01 18:47:08 -07:00
ECOSYSTEM.md docs: fix url for chainreactconf (#30199) 2020-10-19 07:35:37 -07:00
gradle.properties WIP: Add an explicit NDK version to RNTester and ReactAndroid (#29987) 2021-01-04 09:15:08 -08:00
gradlew
gradlew.bat
index.js chore: updated url of deprecated modules (#30422) 2020-11-19 20:36:07 -08:00
interface.js restore core lib Flow definitions for Request, Response, etc. 2021-01-06 17:24:51 -08:00
jest-preset.js
jest.config.js RN: Remove fbjs Dependency 2020-08-28 12:16:26 -07:00
LICENSE
LICENSE-docs
metro.config.js Codegen Android: update Docker configuration to support codegen (#30268) 2020-10-28 21:48:20 -07:00
package.json Deploy 0.142.0 to xplat 2021-01-07 17:26:45 -08:00
React-Core.podspec Move hermes to a separate podspec (#30478) 2020-12-03 20:08:00 -08:00
react-native.config.js
react.gradle Don't minify JS bundle by default when using hermes (#30496) 2020-12-01 17:17:06 -08:00
React.podspec remove most of tvOS remnants from the code (#29407) 2020-09-28 21:26:41 -07:00
README.md switch Readme version badge source to shields.io (#30411) 2020-11-17 20:04:52 -08:00
Releases.md
rn-get-polyfills.js
runXcodeTests.sh
settings.gradle.kts Codegen Android: build react-native-codegen via yarn when building from source 2020-10-26 23:47:54 -07:00
template.config.js
yarn.lock Deploy 0.142.0 to xplat 2021-01-07 17:26:45 -08:00

React Native

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

React Native is released under the MIT license. Current CircleCI 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.