Skip to content

Commit 79737a9

Browse files
authored
📝 Note type of errors component catches (#15)
* 📝 Note type of errors component catches
1 parent 91b0c81 commit 79737a9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Npm Version](https://img.shields.io/npm/v/react-native-error-boundary.svg?style=flat-square)](https://www.npmjs.com/package/react-native-error-boundary)
66
[![Npm Downloads](https://img.shields.io/npm/dt/react-native-error-boundary.svg?style=flat-square)](https://www.npmjs.com/package/react-native-error-boundary)
77

8-
> A simple and reusable React-Native error boundary component 🐛
8+
> A simple and reusable React-Native [error boundary](https://reactjs.org/docs/error-boundaries.html#introducing-error-boundaries) component 🐛
99
1010
## Install
1111

@@ -15,6 +15,8 @@ $ yarn add react-native-error-boundary
1515

1616
## Usage
1717

18+
This component catches **[JavaScript errors](https://github.com/carloscuesta/react-native-error-boundary/issues/5#issuecomment-523809153) anywhere in their child component tree**. Native errors are not handled.
19+
1820
Using this component is really simple. First you have to import the `ErrorBoundary`
1921
component. Then, you have to **wrap** it **around any component** that
2022
**could throw** an **error**.

0 commit comments

Comments
 (0)