Skip to content

Commit 69d0761

Browse files
koba04gaearon
authored andcommitted
Add a link for the error boundaries codemod into the blog post (#10305)
* Add a link for the error boundaries codemod into the blog post * Update 2017-07-26-error-handling-in-react-16.md
1 parent bc0d241 commit 69d0761

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/_posts/2017-07-26-error-handling-in-react-16.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,5 @@ Error boundaries preserve the declarative nature of React, and behave as you wou
9898
## Naming Changes from React 15
9999

100100
React 15 included a very limited support for error boundaries under a different method name: `unstable_handleError`. This method no longer works, and you will need to change it to `componentDidCatch` in your code starting from the first 16 beta release.
101+
102+
For this change, we’ve provided [a codemod](https://github.com/reactjs/react-codemod#error-boundaries) to automatically migrate your code.

0 commit comments

Comments
 (0)