Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[devtools] Trace support #331

Closed
BrianHung opened this issue Jan 20, 2022 · 2 comments
Closed

[devtools] Trace support #331

BrianHung opened this issue Jan 20, 2022 · 2 comments
Assignees

Comments

@BrianHung
Copy link

One useful feature of redux devtools is tracing: it essentially gives you the stack trace of an action / mutation.

https://github.com/reduxjs/redux-devtools/blob/main/extension/docs/Features/Trace.md

Note that the following does not work. I naively tried modifying utils/devtools and adding

  const devtools = extension.connect({ name, trace: true })

but this does not work as it results in a trace in the same file of

      devtools.send(
        {
          type: action,
          updatedAt: new Date().toLocaleString(),
        },
        snapWithoutDevtools
      )
@Aslemammad
Copy link
Member

As mentioned in the PR, this issue relies on reduxjs/redux-devtools#1100 which seems that the redux devtools team are not around it! so I guess we can leave this powerful feature for now! let me know if I'm wrong!

cc @dai-shi

@dai-shi
Copy link
Member

dai-shi commented Aug 12, 2023

Let's reopen once reduxjs/redux-devtools#1369 is published.

@dai-shi dai-shi closed this as completed Aug 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants