기술 & 테스트 핵심 B · 공식 안내 플랫폼: 웹

Error Boundary

오류 경계

에러 경계는 컴포넌트 트리 한 부분 내에서 화면 충돌을 포착합니다. 그곳에서 안전한 대체물을 보여줍니다.

당신은 이것을 이렇게 부를 수 있습니다 Error Boundary컴포넌트 오류 경계렌더 오류 대체충돌 경계

작동 방식을 확인하세요

원본 작업 예제오류 경계

다른 예시

한 차트가 충돌합니다. 탐색과 다른 대시보드 카드들은 여전히 작동합니다.

주요 부분

  1. 01보호된 하위 트리
  2. 02오류 발생
  3. 03로컬 대체
  4. 04작업 중인 형제
  5. 05리셋 동작

사용할 때

전체 페이지를 중단시키지 않고 실패할 수 있는 화면 영역 주위에 하나 배치합니다.

다음 경우에는 사용하지 마세요

일반 폼 오류나 요청 실패에는 사용하지 마십시오. 그런 경우에는 예상된 상태로 처리하십시오.

코드에서 사용된 이름

protected subtree + caught render error + fallback + reset

출시하기 전에

Check the runtime and version, integration limits, dependencies and licenses, and platform support. Verify security, failure, speed, monitoring, deploy, support owner, upgrade path, and rollback.

복사 가능한 요청

Outcome:Complete the task with 오류 경계 (Error Boundary)。 User context:한 차트가 충돌합니다. 탐색과 다른 대시보드 카드들은 여전히 작동합니다. Technology or engineering concept:오류 경계 (Error Boundary)。 Why it fits:전체 페이지를 중단시키지 않고 실패할 수 있는 화면 영역 주위에 하나 배치합니다. Do not use it when:일반 폼 오류나 요청 실패에는 사용하지 마십시오. 그런 경우에는 예상된 상태로 처리하십시오. Engineering fit: Define where it runs and which version to use. Set its job, interfaces, data flow, dependencies, supported systems, security, and speed limits. Explain how it fits the current stack. Lifecycle safeguards: Check dependency health and licenses. Add monitoring and a fallback. Name the upgrade owner. Do not add a second tool for the same job without a measured benefit. Acceptance criteria: A small integration proves the needed behavior. Test compatibility, security, failure, and performance. Document deploy, upgrade, support, and rollback steps. Evidence and limits (evidence boundary):해당 출처에 대해 공식적인 것입니다. 다른 플랫폼이나 팀은 그 용어를 다른 방식으로 사용할 수 있습니다. Unknowns to confirm: Current stack, runtime and version rules, target systems, dependency owner, performance budget, support period, and migration limits.

이 요청을 확인하세요

Review how 오류 경계 (Error Boundary) is used now. Definition: 에러 경계는 컴포넌트 트리 한 부분 내에서 화면 충돌을 포착합니다. 그곳에서 안전한 대체물을 보여줍니다. Release checks: Check the runtime and version, integration limits, dependencies and licenses, and platform support. Verify security, failure, speed, monitoring, deploy, support owner, upgrade path, and rollback. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.

B
이 용어는 얼마나 공식적인가요?

공식 안내

명명된 플랫폼, 프레임워크, 프로젝트 또는 전문가 그룹에는 이 용어에 대한 공식 가이드가 있습니다.

해당 출처에 대해 공식적인 것입니다. 다른 플랫폼이나 팀은 그 용어를 다른 방식으로 사용할 수 있습니다.

범위
소스가 포함하는 것만:정규 이름、정의、플랫폼 API、구현、사용 안내
문서 상태
안정적인
선택됨
2026-07-30

증거 출처 및 범위

권위 있는 출처 + 용어 참조 · React · 안정적인 Catching rendering errors with an error boundary 범위: 정규 이름、정의、플랫폼 API、구현、사용 안내 여기 역할: 직접 용어 참조 출처 범위: 정규 이름, 정의, 플랫폼 API, 구현, 사용 안내

직접 복사

브라우저가 이것을 복사할 수 없습니다. 아래 요청을 선택하고 직접 복사하세요.