Skip to content

Commit 45bc653

Browse files
committed
chore(react): update CHANGELOG
1 parent 41ba823 commit 45bc653

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
66
- [react] feat: Add @sentry/react package (#2631)
7-
7+
- [react] feat: Add Error Boundary component (#2647)
88

99
## 5.17.0
1010

packages/react/src/errorboundary.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ class ErrorBoundary extends React.Component<ErrorBoundaryProps, ErrorBoundarySta
5656
}
5757
}
5858

59+
// If render key changes and there is an error, the component is reset.
60+
// This provides an easy way for users to reset their error boundary.
5961
public componentDidUpdate(prevProps: ErrorBoundaryProps): void {
6062
const { error } = this.state;
6163
const { renderKey, onReset } = this.props;

0 commit comments

Comments
 (0)