File size: 291 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { connection } from 'next/server'

async function Inner({ id }) {
  'use cache'

  return <p>inner cache</p>
}

async function Outer({ id }) {
  'use cache'

  return <Inner id="inner" />
}

export default async function Page() {
  await connection()

  return <Outer id="outer" />
}