Skip to content

Commit a512bb0

Browse files
author
Krystof Woldrich
committed
add changelog
1 parent 1510545 commit a512bb0

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,28 @@
66
> make sure you follow our [migration guide](https://docs.sentry.io/platforms/react-native/migration/) first.
77
<!-- prettier-ignore-end -->
88
9+
## Unreleased
10+
11+
### Features
12+
13+
- Introducing `@sentry/react-native/playground` ([#4916](https://github.com/getsentry/sentry-react-native/pull/4916))
14+
15+
The new `withSentryPlayground` component allows developers to effortlessly verify
16+
that the Sentry React Native SDK is properly configured and reports errors as expected.
17+
18+
```jsx
19+
import * as Sentry from '@sentry/react-native';
20+
import { withSentryPlayground } from '@sentry/react-native/playground';
21+
22+
function App() {
23+
return <View>...</View>;
24+
}
25+
26+
export default withSentryPlayground(
27+
Sentry.wrap(App)
28+
);
29+
```
30+
931
## 6.15.1
1032

1133
### Dependencies

0 commit comments

Comments
 (0)