andrewcourtice / harlem

Powerfully simple global state management for Vue 3
https://harlemjs.com
MIT License
516 stars 16 forks source link

Action are still running in onActionSuccess handler #68

Open robertmoura opened 2 years ago

robertmoura commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Link to reproduction: https://codesandbox.io/s/harlem-action-success-bug-sm3x79?file=/src/store.js Steps to reproduce the behaviour:

  1. See error immediately

Expected behaviour In the handler for onActionSuccess, if you run isActionRunning on the succeeded action it shouldn't be running.

Version: