Error Boundary
오류 경계
에러 경계는 컴포넌트 트리 한 부분 내에서 화면 충돌을 포착합니다. 그곳에서 안전한 대체물을 보여줍니다.
다른 예시
한 차트가 충돌합니다. 탐색과 다른 대시보드 카드들은 여전히 작동합니다.
주요 부분
- 01보호된 하위 트리
- 02오류 발생
- 03로컬 대체
- 04작업 중인 형제
- 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.