A framework for building native macOS apps with React.
Перейти к файлу
Jimmy Zhang be5372801a Pass accessibilityHint through Button component
Summary:
Changelog: [Internal]

Previously, the `accessibilityHint` value isn't passed through the underlying component so that the voice over system doesn't announce it. This diff fixes that.

Reviewed By: sammy-SC

Differential Revision: D31017275

fbshipit-source-id: 1bf5a5e36fdfed2a199986b82684a40e18325ba1
2021-09-17 17:23:22 -07:00
.circleci Use Fabric by default in RNTester 2021-09-15 18:34:30 -07:00
.github Add release blocker form to react-native 2021-09-15 19:10:49 -07:00
IntegrationTests Move integration test Buck targets to GitHub 2021-08-04 13:03:21 -07:00
Libraries Pass accessibilityHint through Button component 2021-09-17 17:23:22 -07:00
React Show warning if TTRC flag may clipped 2021-09-17 14:23:54 -07:00
ReactAndroid Option to use fallback bundle in dev mode 2021-09-17 07:25:54 -07:00
ReactCommon Short-circuit evaluation of formsView 2021-09-17 07:25:54 -07:00
bots Upgrade to `firebase^9.0.2` in ./bots (#32218) 2021-09-16 13:20:47 -07:00
docs Generate doc info for RN components 2019-09-19 18:36:25 -07:00
flow Update format to fix CircleCI failure (#32095) 2021-08-26 10:30:55 -07:00
flow-typed/npm RN: Add `react-test-renderer` Flow Definition 2021-06-06 17:08:55 -07:00
gradle/wrapper Bump Gradle to 7.1.1 (#32138) 2021-09-02 04:31:42 -07:00
jest Add window to jest setup (#28067) 2021-08-24 09:42:17 -07:00
keystores Use fb_native_wrapper for all targets 2018-10-31 11:47:42 -07:00
local-cli Update references to the CLI (#23052) 2019-01-21 09:13:08 -08:00
packages Export `BuildCodegenCLITask` to its own task class 2021-09-17 11:26:30 -07:00
repo-config Deploy 0.159.0 to xplat 2021-09-02 12:30:48 -07:00
scripts Fix: find-node.sh location in react-native-xcode.sh script (#32227) 2021-09-17 10:22:51 -07:00
template Re-sync with internal repository (#32212) 2021-09-15 10:45:06 +01:00
third-party-podspecs Link RCT-Folly against libc++abi 2021-09-16 22:24:10 -07:00
tools/build_defs OSS: use js_glob() for :rn-tester target 2021-09-16 22:24:10 -07:00
.buckconfig Remove package boundary exceptions in OSS Buck config 2021-08-05 08:44:51 -07:00
.buckjavaargs limiting BUCK's memory for CI 2016-02-01 10:49:33 -08:00
.clang-format Moving ObjC specific clang-format rules to the common config 2019-02-11 13:07:09 -08:00
.editorconfig Revert removal of CRLF from Windows bat files (#31398) 2021-09-09 22:44:32 -07:00
.eslintignore Lint: fix few "no-unused-var" warnings for imports (#30157) 2020-10-26 17:19:14 -07:00
.eslintrc RN: Add `react-test-renderer` Flow Definition 2021-06-06 17:08:55 -07:00
.flowconfig Deploy 0.159.0 to xplat 2021-09-02 12:30:48 -07:00
.flowconfig.android Deploy 0.159.0 to xplat 2021-09-02 12:30:48 -07:00
.gitignore Merge the two Gradle Plugins (#32177) 2021-09-15 03:21:23 -07:00
.prettierrc Update various Xplat Prettier configs to specify arrowParens: avoid 2020-09-14 18:36:20 -07:00
BUCK Revert D30868627: Merge base AppleTVOS flags into base Apple flags (take #2) 2021-09-16 18:23:03 -07:00
CODE_OF_CONDUCT.md docs: add new version convenant contribuitor guide link (#32107) 2021-08-30 10:18:11 -07:00
CONTRIBUTING.md docs: update links to forwarded page (#31903) 2021-07-27 11:05:17 -07:00
ECOSYSTEM.md docs: fix url for chainreactconf (#30199) 2020-10-19 07:35:37 -07:00
LICENSE Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
LICENSE-docs More licenses 2015-03-24 19:59:10 -07:00
README.md RN: Replace `master` with `main` in Documentation 2021-07-15 15:22:57 -07:00
React-Core.podspec Link RCT-Folly against libc++abi 2021-09-16 22:24:10 -07:00
React.podspec Resolve "fatal: not a git repository" error outside of git repositories 2021-04-15 13:30:31 -07:00
Releases.md RN: Replace `master` with `main` in Documentation 2021-07-15 15:22:57 -07:00
build.gradle.kts Bump AGP to 4.2.2 2021-08-12 02:43:16 -07:00
cli.js Show full price instead of monthly price within the lead form 2019-03-28 16:07:19 -07:00
gradle.properties Bump Kotlin to 1.4.32 (#32137) 2021-09-02 04:31:42 -07:00
gradlew Update Gradle Wrapper to 6.6 (#29613) 2020-08-26 16:37:20 -07:00
gradlew.bat Re-sync with internal repository (#32212) 2021-09-15 10:45:06 +01:00
index.js Remove DatePickerAndroid from react-native-github 2021-08-25 13:38:25 -07:00
interface.js restore core lib Flow definitions for Request, Response, etc. 2021-01-06 17:24:51 -08:00
jest-preset.js Create `@react-native/polyfills` package. 2020-07-22 03:02:45 -07:00
jest.config.js RN: Remove `fbjs` Dependency 2020-08-28 12:16:26 -07:00
metro.config.js Codegen Android: update Docker configuration to support codegen (#30268) 2020-10-28 21:48:20 -07:00
package.json Bump Hermes npm to 0.9.0 2021-09-02 17:57:08 -07:00
react-native.config.js Migrating RNTester to Packages Directory (#29567) 2020-08-19 17:57:08 -07:00
react.gradle Fixed Android cliPath Gradle configuration option for build.gradle (#31839) 2021-09-15 10:32:01 -07:00
rn-get-polyfills.js Create `@react-native/polyfills` package. 2020-07-22 03:02:45 -07:00
runXcodeTests.sh Migrating RNTester to Packages Directory (#29567) 2020-08-19 17:57:08 -07:00
settings.gradle.kts Merge the two Gradle Plugins (#32177) 2021-09-15 03:21:23 -07:00
template.config.js imp: Add titlePlaceholder in template.config.js (#26218) 2020-05-12 09:09:23 -07:00
yarn.lock Bump Hermes npm to 0.9.0 2021-09-02 17:57:08 -07:00

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 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 11.0 and Android 5.0 (API 21) 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.