Skip to content

Commit c29e899

Browse files
committed
chore: comment
1 parent 44089e7 commit c29e899

File tree

1 file changed

+4
-0
lines changed
  • packages/plugin-rsc/examples/basic/src/routes/react-cache

1 file changed

+4
-0
lines changed

packages/plugin-rsc/examples/basic/src/routes/react-cache/server.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
import React from 'react'
22

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+
37
export async function TestReactCache(props: { url: URL }) {
48
if (props.url.searchParams.has('test-react-cache')) {
59
await Promise.all([

0 commit comments

Comments
 (0)