Files
react-native/Libraries/Renderer
Samuel Susla 37d0a25cb2 React Native sync for revisions 229c86a...c1f5884
Summary:
This sync includes the following changes:
- **[c1f5884ff](https://github.com/facebook/react/commit/c1f5884ff )**: Add missing null checks to OffscreenInstance code ([#24846](https://github.com/facebook/react/pull/24846)) //<Andrew Clark>//
- **[4cd788aef](https://github.com/facebook/react/commit/4cd788aef )**: Revert "Revert [Transition Tracing] Refactor Transition Tracing Root Code" ([#24830](https://github.com/facebook/react/pull/24830)) //<Luna Ruan>//
- **[e61fd91f5](https://github.com/facebook/react/commit/e61fd91f5 )**: Revert "[Transition Tracing] Refactor Transition Tracing Root Code ([#24766](https://github.com/facebook/react/pull/24766))" ([#24829](https://github.com/facebook/react/pull/24829)) //<Andrew Clark>//
- **[401296310](https://github.com/facebook/react/commit/401296310 )**: [Transition Tracing] Refactor Transition Tracing Root Code ([#24766](https://github.com/facebook/react/pull/24766)) //<Luna Ruan>//
- **[185932902](https://github.com/facebook/react/commit/185932902 )**: Track nearest Suspense handler on stack ([#24585](https://github.com/facebook/react/pull/24585)) //<Andrew Clark>//
- **[a7b192e0f](https://github.com/facebook/react/commit/a7b192e0f )**: Add test gate alias for Offscreen ([#24749](https://github.com/facebook/react/pull/24749)) //<Andrew Clark>//
- **[6b6cf8311](https://github.com/facebook/react/commit/6b6cf8311 )**: Land forked reconciler changes ([#24817](https://github.com/facebook/react/pull/24817)) //<Andrew Clark>//
- **[d1432ba93](https://github.com/facebook/react/commit/d1432ba93 )**: [Transition Tracing] Fix excess calls to the transition start callback ([#24806](https://github.com/facebook/react/pull/24806)) //<Luna Ruan>//
- **[88574c1b8](https://github.com/facebook/react/commit/88574c1b8 )**: Fix enableTransitionTracing flag ([#24801](https://github.com/facebook/react/pull/24801)) //<Luna Ruan>//
- **[a4bed4696](https://github.com/facebook/react/commit/a4bed4696 )**: [Transition Tracing] Add Tracing Markers ([#24686](https://github.com/facebook/react/pull/24686)) //<Luna Ruan>//
- **[167853026](https://github.com/facebook/react/commit/167853026 )**: fix hydration warning suppression in text comparisons ([#24784](https://github.com/facebook/react/pull/24784)) //<Josh Story>//
- **[9abe745aa](https://github.com/facebook/react/commit/9abe745aa )**: [DevTools][Timeline Profiler] Component Stacks Backend ([#24776](https://github.com/facebook/react/pull/24776)) //<Luna Ruan>//
- **[cf665c4b7](https://github.com/facebook/react/commit/cf665c4b7 )**: [DevTools] Refactor incompleteTransitions field from Root Fiber memoized state to FiberRoot ([#24765](https://github.com/facebook/react/pull/24765)) //<Luna Ruan>//
- **[56389e81f](https://github.com/facebook/react/commit/56389e81f )**: Abort Flight ([#24754](https://github.com/facebook/react/pull/24754)) //<Sebastian Markbåge>//
- **[0f216ae31](https://github.com/facebook/react/commit/0f216ae31 )**: Add entry points for "static" server rendering passes ([#24752](https://github.com/facebook/react/pull/24752)) //<Sebastian Markbåge>//
- **[f796fa13a](https://github.com/facebook/react/commit/f796fa13a )**: Rename Segment to Task in Flight ([#24753](https://github.com/facebook/react/pull/24753)) //<Sebastian Markbåge>//
- **[0f0aca3ab](https://github.com/facebook/react/commit/0f0aca3ab )**: Aborting early should not infinitely suspend ([#24751](https://github.com/facebook/react/pull/24751)) //<Sebastian Markbåge>//
- **[12a738f1a](https://github.com/facebook/react/commit/12a738f1a )**: [Transition Tracing] Add Support for Multiple Transitions on Root ([#24732](https://github.com/facebook/react/pull/24732)) //<Luna Ruan>//
- **[72ebc703a](https://github.com/facebook/react/commit/72ebc703a )**: [DevTools] fix useDeferredValue to match reconciler change ([#24742](https://github.com/facebook/react/pull/24742)) //<Mengdi Chen>//
- **[7cf9f5e03](https://github.com/facebook/react/commit/7cf9f5e03 )**: Extra space ([#24612](https://github.com/facebook/react/pull/24612)) //<Kerim Büyükakyüz>//

Changelog:
[General][Changed] - React Native sync for revisions 229c86a...c1f5884

Reviewed By: mdvacca, GijsWeterings

Differential Revision: D38904311

fbshipit-source-id: 1e30bc420c30ec7a0c0073fc92a706afef4b3340
2022-09-06 10:52:22 -07:00
..

React & React Native Versions

This page describes how React and React Native versions interact each other. The version alignment between the two frameworks relies on two syncronization points:

  1. The versions in the package.json of the new app template. For example for React Native 0.68.1 the versions are aligned as follows:
  "dependencies": {
    "react": "17.0.2",
    "react-native": "0.68.1"
  },
  1. The React renderers shipped with React Native inside this folder, the ./Libraries/Renderer folder, of React Native.

This practically means that you can't bump the version of React in your package.json to a later version, as you will still be using the older renderer from the folder mentioned above. Bumping the react version in your package.json will lead to unexpected behaviors.

For the sake of React 18, the first version of React Native compatible with React 18 is 0.69.0. Users on React Native 0.68.0 and previous versions won't be able to use React 18.

If you use the react-native upgrade command or the React Native Upgrade Helper, you'll bump to the correct React version once you upgrade React Native.