redux-devtools
redux-devtools copied to clipboard
Trace function does not get `action` arg
For some edge cases where stack trace cannot be obtained with just
Error().stack
, you can pass a function astrace
with your implementation. It's useful for cases where the stack is broken, like, for example, when callingsetTimeout
. It takesaction
object as argument and should returnstack
string. This way it can be also used to provide stack conditionally only for certain actions.
Hey, In docs mention that trace
function gets the action as an argument! but in this repro, it doesn't!
codesandbox, check out the logs.
Thanks for the amazing extension!
Any update on this? any work needed in case?