Skip to content

Commit a7265ef

Browse files
authored
docs: fix typo in cache.md (#1105)
1 parent 61caa2f commit a7265ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/reference/react/cache.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,11 @@ async function MinimalWeatherCard({city}) {
192192
}
193193
```
194194

195-
`AnimatedWeatherCard``MinimalWeatherCard`가 같은 <CodeStep step={1}>도시</CodeStep>를 렌더링할 때, <CodeStep step={2}>메모화된 함수</CodeStep>로 부터 같은 데이터의 스냅샷을 받게 됩니다.
195+
`AnimatedWeatherCard``MinimalWeatherCard`가 같은 <CodeStep step={1}>city</CodeStep>를 렌더링할 때, <CodeStep step={2}>메모화된 함수</CodeStep>로 부터 같은 데이터의 스냅샷을 받게 됩니다.
196196

197-
`AnimatedWeatherCard``MinimalWeatherCard`가 다른 <CodeStep step={1}>도시</CodeStep>를 <CodeStep step={2}>`getTemperature`</CodeStep>의 인자로 받게 된다면, `fetchTemperature`는 두 번 호출되고 호출마다 다른 데이터를 받게 됩니다.
197+
`AnimatedWeatherCard``MinimalWeatherCard`가 다른 <CodeStep step={1}>city</CodeStep>를 <CodeStep step={2}>`getTemperature`</CodeStep>의 인자로 받게 된다면, `fetchTemperature`는 두 번 호출되고 호출마다 다른 데이터를 받게 됩니다.
198198

199-
<CodeStep step={1}>도시</CodeStep>가 캐시 키처럼 동작하게 됩니다.
199+
<CodeStep step={1}>city</CodeStep>가 캐시 키처럼 동작하게 됩니다.
200200

201201
<Note>
202202

0 commit comments

Comments
 (0)