Skip to content

Commit 604867e

Browse files
krystofwoldrichbitsandfoxes
authored andcommitted
feat(react-native): Add Session Replay experimental rendered option to the init code snippet (#13208)
1 parent 5966679 commit 604867e

File tree

1 file changed

+4
-1
lines changed
  • docs/platforms/react-native/session-replay

1 file changed

+4
-1
lines changed

docs/platforms/react-native/session-replay/index.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ Sentry.init({
4040
dsn: "___PUBLIC_DSN___",
4141
replaysSessionSampleRate: 0.1,
4242
replaysOnErrorSampleRate: 1.0,
43-
integrations: [Sentry.mobileReplayIntegration()],
43+
integrations: [Sentry.mobileReplayIntegration({
44+
// We recommend the ~5x more performant experimental view renderer
45+
enableExperimentalViewRenderer: true,
46+
})],
4447
});
4548
```
4649

0 commit comments

Comments
 (0)