Pass action to trace (#1100)
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
⚠️ 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
Very nice. Would love to see this merged!
Any plan to merge soon ?
Any update on this?
Need this. Zustand isn't very developer friendly without tracing enabled. @meluskyc Can the conflicts be resolved for v5.0.0-alpha.X?
This will be very useful for many.
Any update?