Skip to content

Commit

Permalink
fix docs link for useSyncExternalStore (#26452)
Browse files Browse the repository at this point in the history
## Summary

Update readme to new documentation links to
[`React.useSyncExternalStore`](https://react.dev/reference/react/useSyncExternalStore

## How did you test this change?

This is just a documentation change, so we don't need to test it

Co-authored-by: 田源 <tianyuan@eol.cn>

DiffTrain build for commit ffb6733.
  • Loading branch information
gaearon committed Mar 22, 2023
1 parent 89c7907 commit adc87ba
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23632,7 +23632,7 @@ function createFiberRoot(
return root;
}

var ReactVersion = "18.3.0-next-0018cf224-20230321";
var ReactVersion = "18.3.0-next-ffb6733ee-20230322";

// Might add PROFILE later.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8563,7 +8563,7 @@ var devToolsConfig$jscomp$inline_1018 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-next-0018cf224-20230321",
version: "18.3.0-next-ffb6733ee-20230322",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1206 = {
Expand Down Expand Up @@ -8594,7 +8594,7 @@ var internals$jscomp$inline_1206 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-next-0018cf224-20230321"
reconcilerVersion: "18.3.0-next-ffb6733ee-20230322"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1207 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8988,7 +8988,7 @@ var devToolsConfig$jscomp$inline_1061 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-next-0018cf224-20230321",
version: "18.3.0-next-ffb6733ee-20230322",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1247 = {
Expand Down Expand Up @@ -9019,7 +9019,7 @@ var internals$jscomp$inline_1247 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-next-0018cf224-20230321"
reconcilerVersion: "18.3.0-next-ffb6733ee-20230322"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1248 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if (
}
"use strict";

var ReactVersion = "18.3.0-next-0018cf224-20230321";
var ReactVersion = "18.3.0-next-ffb6733ee-20230322";

// ATTENTION
// When adding new symbols to this file,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -639,4 +639,4 @@ exports.useSyncExternalStore = function (
);
};
exports.useTransition = useTransition;
exports.version = "18.3.0-next-0018cf224-20230321";
exports.version = "18.3.0-next-ffb6733ee-20230322";
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ exports.useSyncExternalStore = function (
);
};
exports.useTransition = useTransition;
exports.version = "18.3.0-next-0018cf224-20230321";
exports.version = "18.3.0-next-ffb6733ee-20230322";

/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0018cf2246998218b3399ec1d422f9cd53bf1312
ffb6733eefc23e62c1fb94ce7fc442f87255ebd7
Original file line number Diff line number Diff line change
Expand Up @@ -26386,7 +26386,7 @@ function createFiberRoot(
return root;
}

var ReactVersion = "18.3.0-next-0018cf224-20230321";
var ReactVersion = "18.3.0-next-ffb6733ee-20230322";

function createPortal$1(
children,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9498,7 +9498,7 @@ var roots = new Map(),
devToolsConfig$jscomp$inline_1038 = {
findFiberByHostInstance: getInstanceFromNode,
bundleType: 0,
version: "18.3.0-next-0018cf224-20230321",
version: "18.3.0-next-ffb6733ee-20230322",
rendererPackageName: "react-native-renderer",
rendererConfig: {
getInspectorDataForViewTag: function () {
Expand Down Expand Up @@ -9540,7 +9540,7 @@ var internals$jscomp$inline_1281 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-next-0018cf224-20230321"
reconcilerVersion: "18.3.0-next-ffb6733ee-20230322"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1282 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10206,7 +10206,7 @@ var roots = new Map(),
devToolsConfig$jscomp$inline_1117 = {
findFiberByHostInstance: getInstanceFromNode,
bundleType: 0,
version: "18.3.0-next-0018cf224-20230321",
version: "18.3.0-next-ffb6733ee-20230322",
rendererPackageName: "react-native-renderer",
rendererConfig: {
getInspectorDataForViewTag: function () {
Expand Down Expand Up @@ -10261,7 +10261,7 @@ var roots = new Map(),
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-next-0018cf224-20230321"
reconcilerVersion: "18.3.0-next-ffb6733ee-20230322"
});
exports.createPortal = function (children, containerTag) {
return createPortal$1(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27437,7 +27437,7 @@ function createFiberRoot(
return root;
}

var ReactVersion = "18.3.0-next-0018cf224-20230321";
var ReactVersion = "18.3.0-next-ffb6733ee-20230322";

function createPortal$1(
children,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9687,7 +9687,7 @@ var roots = new Map(),
devToolsConfig$jscomp$inline_1100 = {
findFiberByHostInstance: getInstanceFromTag,
bundleType: 0,
version: "18.3.0-next-0018cf224-20230321",
version: "18.3.0-next-ffb6733ee-20230322",
rendererPackageName: "react-native-renderer",
rendererConfig: {
getInspectorDataForViewTag: function () {
Expand Down Expand Up @@ -9729,7 +9729,7 @@ var internals$jscomp$inline_1350 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-next-0018cf224-20230321"
reconcilerVersion: "18.3.0-next-ffb6733ee-20230322"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1351 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10395,7 +10395,7 @@ var roots = new Map(),
devToolsConfig$jscomp$inline_1179 = {
findFiberByHostInstance: getInstanceFromTag,
bundleType: 0,
version: "18.3.0-next-0018cf224-20230321",
version: "18.3.0-next-ffb6733ee-20230322",
rendererPackageName: "react-native-renderer",
rendererConfig: {
getInspectorDataForViewTag: function () {
Expand Down Expand Up @@ -10450,7 +10450,7 @@ var roots = new Map(),
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-next-0018cf224-20230321"
reconcilerVersion: "18.3.0-next-ffb6733ee-20230322"
});
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = {
computeComponentStackForErrorReporting: function (reactTag) {
Expand Down

0 comments on commit adc87ba

Please sign in to comment.