You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We haven't yet decided how we want `cache` to work on the client. The
lifetime of the cache is more complex than on the server, where it only
has to live as long as a single request.
Since it's more important to ship this on the server, we're removing the
existing behavior from the client for now. On the client (i.e. not a
Server Components environment) `cache` will have not have any caching
behavior. `cache(fn)` will return the function as-is.
We intend to implement client caching in a future major release. In the
meantime, it's only exposed as an API so that Shared Components can use
per-request caching on the server without breaking on the client.
DiffTrain build for commit 5c60736.
Copy file name to clipboardexpand all lines: compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js
+1-1
Original file line number
Diff line number
Diff line change
@@ -25540,7 +25540,7 @@ if (__DEV__) {
25540
25540
return root;
25541
25541
}
25542
25542
25543
-
var ReactVersion = "18.3.0-canary-f16344ea6-20240116";
25543
+
var ReactVersion = "18.3.0-canary-5c607369c-20240116";
Copy file name to clipboardexpand all lines: compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-prod.js
+2-2
Original file line number
Diff line number
Diff line change
@@ -9122,7 +9122,7 @@ var devToolsConfig$jscomp$inline_1037 = {
9122
9122
throwError("TestRenderer does not support findFiberByHostInstance()");
9123
9123
},
9124
9124
bundleType: 0,
9125
-
version: "18.3.0-canary-f16344ea6-20240116",
9125
+
version: "18.3.0-canary-5c607369c-20240116",
9126
9126
rendererPackageName: "react-test-renderer"
9127
9127
};
9128
9128
varinternals$jscomp$inline_1230={
@@ -9153,7 +9153,7 @@ var internals$jscomp$inline_1230 = {
Copy file name to clipboardexpand all lines: compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-profiling.js
+2-2
Original file line number
Diff line number
Diff line change
@@ -9550,7 +9550,7 @@ var devToolsConfig$jscomp$inline_1079 = {
9550
9550
throwError("TestRenderer does not support findFiberByHostInstance()");
9551
9551
},
9552
9552
bundleType: 0,
9553
-
version: "18.3.0-canary-f16344ea6-20240116",
9553
+
version: "18.3.0-canary-5c607369c-20240116",
9554
9554
rendererPackageName: "react-test-renderer"
9555
9555
};
9556
9556
varinternals$jscomp$inline_1271={
@@ -9581,7 +9581,7 @@ var internals$jscomp$inline_1271 = {
0 commit comments