Skip to content

Trace which function made store change #254

Open
@joshuaquek

Description

@joshuaquek

Is there a way to do debugging/tracing to which function one has created has made a change to a property in the store?

Like say my own functionincrementCounterNumber() made a change to a property counter, how do I log out a trace to show that this state change was made by this function?

Is there some form of debugging feature in this library that can do this? I saw that you guys used to have a {debug: true} option that you could add to view() but this feature has since been removed in the latest version of react-easy-state.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions