Summary: This sync includes the following changes: - **[58742c21b](https://github.com/facebook/react/commit/58742c21b )**: Delete unused `eventTimes` Fiber field ([#26599](https://github.com/facebook/react/pull/26599)) //<Andrew Clark>// - **[0b931f90e](https://github.com/facebook/react/commit/0b931f90e )**: Remove JND delay for non-transition updates ([#26597](https://github.com/facebook/react/pull/26597)) //<Andrew Clark>// - **[ac43bf687](https://github.com/facebook/react/commit/ac43bf687 )**: Move validation of text nesting into ReactDOMComponent ([#26594](https://github.com/facebook/react/pull/26594)) //<Sebastian Markbåge>// - **[ca41adb8c](https://github.com/facebook/react/commit/ca41adb8c )**: Diff properties in the commit phase instead of generating an update payload ([#26583](https://github.com/facebook/react/pull/26583)) //<Sebastian Markbåge>// - **[dd0619b2e](https://github.com/facebook/react/commit/dd0619b2e )**: rename $$$hostConfig to $$$config ([#26593](https://github.com/facebook/react/pull/26593)) //<Josh Story>// - **[b55d31955](https://github.com/facebook/react/commit/b55d31955 )**: Rename HostConfig files to FiberConfig to clarify they are configs fo… ([#26592](https://github.com/facebook/react/pull/26592)) //<Josh Story>// - **[ffb8eaca5](https://github.com/facebook/react/commit/ffb8eaca5 )**: Rename ReactServerFormatConfig to ReactFizzConfig ([#26591](https://github.com/facebook/react/pull/26591)) //<Josh Story>// - **[f4f873f62](https://github.com/facebook/react/commit/f4f873f62 )**: Implements wiring for Flight to have it's own "HostConfig" ([#26590](https://github.com/facebook/react/pull/26590)) //<Josh Story>// - **[44db16afc](https://github.com/facebook/react/commit/44db16afc )**: Normalize ReactFlightServerConfig and related files ([#26589](https://github.com/facebook/react/pull/26589)) //<Josh Story>// - **[fec97ecbc](https://github.com/facebook/react/commit/fec97ecbc )**: act: Move didScheduleLegacyUpdate to ensureRootIsScheduled ([#26552](https://github.com/facebook/react/pull/26552)) //<Andrew Clark>// - **[9a9da7721](https://github.com/facebook/react/commit/9a9da7721 )**: Don't update textarea defaultValue and input checked unnecessarily ([#26580](https://github.com/facebook/react/pull/26580)) //<Sebastian Markbåge>// - **[e5146cb52](https://github.com/facebook/react/commit/e5146cb52 )**: Refactor some controlled component stuff ([#26573](https://github.com/facebook/react/pull/26573)) //<Sebastian Markbåge>// - **[657698e48](https://github.com/facebook/react/commit/657698e48 )**: [Tests] `waitForThrow` should diff strings ([#26568](https://github.com/facebook/react/pull/26568)) //<Josh Story>// - **[85bb7b685](https://github.com/facebook/react/commit/85bb7b685 )**: Fix: Move `destroy` field to shared instance object ([#26561](https://github.com/facebook/react/pull/26561)) //<Andrew Clark>// - **[9cfba0f6e](https://github.com/facebook/react/commit/9cfba0f6e )**: Clean up discrete event replaying ([#26558](https://github.com/facebook/react/pull/26558)) //<Sebastian Markbåge>// - **[790ebc962](https://github.com/facebook/react/commit/790ebc962 )**: Remove no-fallthrough lint suppressions ([#26553](https://github.com/facebook/react/pull/26553)) //<Sophie Alpert>// - **[c15579631](https://github.com/facebook/react/commit/c15579631 )**: Put common aliases in Map/Set instead of switch over strings ([#26551](https://github.com/facebook/react/pull/26551)) //<Sebastian Markbåge>// - **[d5fd60f7e](https://github.com/facebook/react/commit/d5fd60f7e )**: Remove findInstanceBlockingEvent unused parameters ([#26534](https://github.com/facebook/react/pull/26534)) //<Mohammad Ghorbani>// - **[eeabb7312](https://github.com/facebook/react/commit/eeabb7312 )**: Refactor DOM Bindings Completely Off of DOMProperty Meta Programming ([#26546](https://github.com/facebook/react/pull/26546)) //<Sebastian Markbåge>// - **[da94e8b24](https://github.com/facebook/react/commit/da94e8b24 )**: Revert "Cleanup enableSyncDefaultUpdate flag ([#26236](https://github.com/facebook/react/pull/26236))" ([#26528](https://github.com/facebook/react/pull/26528)) //<Jan Kassens>// - **[0700dd50b](https://github.com/facebook/react/commit/0700dd50b )**: Implement public instances for text nodes in Fabric ([#26516](https://github.com/facebook/react/pull/26516)) //<Rubén Norte>// - **[4a1cc2ddd](https://github.com/facebook/react/commit/4a1cc2ddd )**: Fix logic around attribute seralization ([#26526](https://github.com/facebook/react/pull/26526)) //<Josh Story>// - **[7329ea81c](https://github.com/facebook/react/commit/7329ea81c )**: Fix suspense replaying forward refs ([#26535](https://github.com/facebook/react/pull/26535)) //<Hans Otto Wirtz>// - **[0ae348018](https://github.com/facebook/react/commit/0ae348018 )**: [Float] Suspend unstyled content for up to 1 minute ([#26532](https://github.com/facebook/react/pull/26532)) //<Andrew Clark>// - **[888874673](https://github.com/facebook/react/commit/888874673 )**: Allow transitions to interrupt Suspensey commits ([#26531](https://github.com/facebook/react/pull/26531)) //<Andrew Clark>// - **[09c8d2563](https://github.com/facebook/react/commit/09c8d2563 )**: Move update scheduling to microtask ([#26512](https://github.com/facebook/react/pull/26512)) //<Andrew Clark>// - **[8310854ce](https://github.com/facebook/react/commit/8310854ce )**: Clean up enableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay ([#26521](https://github.com/facebook/react/pull/26521)) //<Andrew Clark>// Changelog: [General][Changed] - React Native sync for revisions ca01f35...58742c2 jest_e2e[run_all_tests] bypass-github-export-checks Reviewed By: sammy-SC Differential Revision: D44872333 fbshipit-source-id: 0695e86645955aac7a20afdaf3ed02ad33592f5c
@react-native/codegen-typescript-test to verify .d.ts files in @react-native/codegen (1) (#36562)
@react-native/codegen-typescript-test to verify .d.ts files in @react-native/codegen (1) (#36562)
React Native
Learn once, write anywhere:
Build mobile apps with React.
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
- Building your first React Native app
- Documentation
- Upgrading
- How to Contribute
- Code of Conduct
- License
📋 Requirements
React Native apps may target iOS 12.4 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 this discussion repo.
👏 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.