We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44089e7 commit c29e899Copy full SHA for c29e899
packages/plugin-rsc/examples/basic/src/routes/react-cache/server.tsx
@@ -1,5 +1,9 @@
1
import React from 'react'
2
3
+// Note that `React.cache` doesn't have effect inside action
4
+// since it's outside of RSC render request context.
5
+// https://github.com/hi-ogawa/reproductions/tree/main/next-rsc-action-cache
6
+
7
export async function TestReactCache(props: { url: URL }) {
8
if (props.url.searchParams.has('test-react-cache')) {
9
await Promise.all([
0 commit comments