docs: translate cache reference page - #1550
Open
boram2445 wants to merge 1 commit into
Open
Conversation
boram2445
requested review from
eomttt,
gnujoow,
hg-pyun and
lumirlumir
as code owners
July 27, 2026 04:51
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cache레퍼런스 페이지 번역변경사항
src/content/reference/react/cache.md에 영어 원문으로 남아 있던 19줄을 번역하였습니다.확인: https://ko.react.dev/reference/react/cache
특이사항
번역 외에 두 곳을 수정했습니다. 지난
Sync with react.dev병합 과정에서 생긴 것으로 보입니다.1. 중복된 문단을 제거했습니다
고비용 연산 캐싱하기첫 문단이 한국어와 영어로 두 번 들어가 있었습니다. 원본에는 이 문단이 하나뿐입니다. 기존 번역을 남기고 중복된 영어 줄을 지웠습니다.같은 `user` 객체가 `Profile`과 `TeamReport`에서 렌더링될 때, 두 컴포넌트는 작업을 공유하고, `user`를 위한 `calculateUserMetrics`를 한 번만 호출합니다. - If the same `user` object is rendered in both `Profile` and `TeamReport`, the two components can share work and only call `calculateUserMetrics` once for that `user`.2. 누락된 문단을 추가했습니다
useMemoDeepDive에서 원본 문단 하나가 한국어 문서에 없었습니다. 이 문단이 없으면 바로 다음 문단의However(→다만)가 무엇과 대비되는지 알 수 없습니다.+ 이 예시에서 `App`은 같은 record로 `WeatherReport` 두 개를 렌더링합니다. 두 컴포넌트가 같은 작업을 하더라도 작업을 공유할 수는 없습니다. `useMemo`의 캐시는 해당 컴포넌트 안에만 존재합니다. 다만 `App`이 다시 렌더링되어도 `record` 객체가 변하지 않았다면, `useMemo`는 각 컴포넌트 인스턴스가 작업을 생략하고 메모화된 `avgTemp` 값을 사용하도록 보장합니다.필수 확인 사항
textlint가이드Textlint Guide선택 확인 사항