Commit 7bcd00f
docs(react-native): Update useDispatchedActionData description (#17320)
Update the React Navigation integration docs to reflect the new behavior
of `useDispatchedActionData`:
- **Immediate span naming** from action payload (`NAVIGATE`, `PUSH`,
`REPLACE`, `JUMP_TO`)
- **Skip spans** for actions without a known route name (`GO_BACK`,
`POP`, `POP_TO_TOP`, `RESET`)
- **Filter non-navigation actions** (`SET_PARAMS`, drawer actions)
- Clarified that `goBack` transactions are skipped when the option is
enabled
Ref: getsentry/sentry-react-native#59821 parent e6ce39d commit 7bcd00f
1 file changed
Lines changed: 8 additions & 2 deletions
File tree
- docs/platforms/react-native/tracing/instrumentation
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
43 | 49 | | |
44 | 50 | | |
45 | 51 | | |
46 | 52 | | |
47 | 53 | | |
48 | | - | |
| 54 | + | |
49 | 55 | | |
50 | 56 | | |
0 commit comments