redux-devtools icon indicating copy to clipboard operation
redux-devtools copied to clipboard

Pass action to trace (#1100)

Open meluskyc opened this issue 3 years ago • 7 comments

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:

https://github.com/pmndrs/valtio/issues/331 https://github.com/pmndrs/zustand/issues/716

meluskyc avatar Mar 12 '23 17:03 meluskyc

⚠️ No Changeset found

Latest commit: b058901129758658f3d26b45264da0ac8d0de0b9

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

changeset-bot[bot] avatar Mar 12 '23 17:03 changeset-bot[bot]

Very nice. Would love to see this merged!

andrewschreiber avatar Jun 22 '23 19:06 andrewschreiber

Any plan to merge soon ?

Bonjour123 avatar Nov 04 '23 10:11 Bonjour123

Any update on this?

theklr avatar Feb 29 '24 21:02 theklr

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

tjmcdonough avatar Mar 09 '24 11:03 tjmcdonough

This will be very useful for many.

owenizedd avatar May 08 '25 09:05 owenizedd

Any update?

jianjianghui avatar Aug 17 '25 16:08 jianjianghui