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

Pass action to trace (#1100) #1369

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

meluskyc
Copy link

@meluskyc meluskyc commented Mar 12, 2023

Resolves #1100

From the docs, the trace function that returns a stack trace is supposed to be passed the action, so this fixes that.

This should help some of the new JS state managers support all devtools features.

See:

pmndrs/valtio#331
pmndrs/zustand#716

@changeset-bot
Copy link

changeset-bot bot commented Mar 12, 2023

⚠️ No Changeset found

Latest commit: b058901

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@andrewschreiber
Copy link

Very nice. Would love to see this merged!

@Bonjour123
Copy link

Any plan to merge soon ?

@theklr
Copy link

theklr commented Feb 29, 2024

Any update on this?

@tjmcdonough
Copy link

tjmcdonough commented Mar 9, 2024

Need this. Zustand isn't very developer friendly without tracing enabled. @meluskyc Can the conflicts be resolved for v5.0.0-alpha.X?

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 this pull request may close these issues.

Trace function does not get action arg
5 participants