Skip to content

Commit 93c3a56

Browse files
author
Daksh Dhami
committed
fix: correct more broken React 19 blog post links in upgrade guide
1 parent 4162c76 commit 93c3a56

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/content/blog/2024/04/25/react-19-upgrade-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ For a list of all available codemods, see the [`react-codemod` repo](https://git
129129

130130
In previous versions of React, errors thrown during render were caught and rethrown. In DEV, we would also log to `console.error`, resulting in duplicate error logs.
131131

132-
In React 19, we've [improved how errors are handled](/blog/2024/04/25/react-19#error-handling) to reduce duplication by not re-throwing:
132+
In React 19, we've [improved how errors are handled](/blog/2024/12/05/react-19#error-handling) to reduce duplication by not re-throwing:
133133

134134
- **Uncaught Errors**: Errors that are not caught by an Error Boundary are reported to `window.reportError`.
135135
- **Caught Errors**: Errors that are caught by an Error Boundary are reported to `console.error`.
@@ -499,7 +499,7 @@ function AutoselectingInput() {
499499

500500
### Deprecated: `element.ref` {/*deprecated-element-ref*/}
501501

502-
React 19 supports [`ref` as a prop](/blog/2024/04/25/react-19#ref-as-a-prop), so we're deprecating the `element.ref` in place of `element.props.ref`.
502+
React 19 supports [`ref` as a prop](/blog/2024/12/05/react-19#ref-as-a-prop), so we're deprecating the `element.ref` in place of `element.props.ref`.
503503

504504
Accessing `element.ref` will warn:
505505

0 commit comments

Comments
 (0)