@samitouri / QOS-React / commits / 1f3de403bc

Link to React 16 beta

Dan Abramov committed Jul 26, 2017 at 21:20 UTC 1f3de403bcbec653799a1abf41c490ef5f5262c2
1 file changed +3 -1
docs/_posts/2017-07-26-error-handling-in-react-16.md
+3 -1
@@ -5,6 +5,8 @@ author: gaearon
5
6 As React 16 release is getting closer, we would like to announce a few changes to how React handles JavaScript errors inside components. These changes are included in React 16 beta versions, and will be a part of React 16.
7
8 +**By the way, [we just released the first beta of React 16 for you to try!](https://github.com/facebook/react/issues/10294)**
9 +
10 ## Behavior in React 15 and Earlier
11
12 In the past, JavaScript errors inside components used to corrupt React’s internal state and cause it to [emit](https://github.com/facebook/react/issues/4026) [cryptic](https://github.com/facebook/react/issues/6895) [errors](https://github.com/facebook/react/issues/8579) on next renders. These errors were always caused by an earlier error in the application code, but React did not provide a way to handle them gracefully in components, and could not recover from them.
@@ -55,7 +57,7 @@ Note that **error boundaries only catch errors in the components below them in t
57
58 ## Live Demo
59
58 -Check out [this example of declaring and using an error boundary](https://codepen.io/gaearon/pen/wqvxGa?editors=0010) with React 16 beta.
60 +Check out [this example of declaring and using an error boundary](https://codepen.io/gaearon/pen/wqvxGa?editors=0010) with [React 16 beta](https://github.com/facebook/react/issues/10294).
61
62 ## Where to Place Error Boundaries
63