You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,6 +81,18 @@ While the default configuration should work for most use cases, Raven for Redux
81
81
can be configured by providing an options object with any of the following
82
82
optional keys.
83
83
84
+
#### `breadcrumbMessageFromAction`_(Function)_
85
+
86
+
Default: `action => action.type`
87
+
88
+
`breadcrumbMessageFromAction` allows you to specify a transform function which is passed the `action` object and returns a `string` that will be used as the message of the breadcrumb.
89
+
90
+
By default `breadcrumbMessageFromAction` returns `action.type`.
91
+
92
+
Finally, be careful not to mutate your `action` within this function.
0 commit comments