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
If `getCacheForType` or `useRefresh` cannot find a parent <Cache />,
they will access a top-level cache associated with the root. The
behavior is effectively the same as if you wrapped the entire tree in a
<Cache /> boundary.
Copy file name to clipboardexpand all lines: scripts/error-codes/codes.json
+1-1
Original file line number
Diff line number
Diff line change
@@ -372,6 +372,6 @@
372
372
"381": "This feature is not supported by ReactSuspenseTestUtils.",
373
373
"382": "This query has received more parameters than the last time the same query was used. Always pass the exact number of parameters that the query needs.",
374
374
"383": "This query has received fewer parameters than the last time the same query was used. Always pass the exact number of parameters that the query needs.",
375
-
"384": "Tried to fetch data, but no cache was found. To fix, wrap your component in a <Cache /> boundary. It doesn't need to be a direct parent; it can be anywhere in the ancestor path",
375
+
"384": "Internal React error: Should always have a cache.",
376
376
"385": "Refreshing the cache is not supported in Server Components."
0 commit comments