Skip to content

$onAction not always firing? #1400

Closed Answered by posva
mixmix asked this question in Help and Questions
Jun 27, 2022 · 3 comments · 6 replies
Discussion options

You must be logged in to vote

I completely missed this 👀

The problem in the repro is that no action is being called. It works when calling the actions.

A limitation you might have encountered is that $onAction() cannot be aware of actions invoked by other actions in setup stores. This is a technical limitation that needs some investigation but should be resolved in a new major. @guyaumetremblay I recommend you to try and boil it down in the playground to see if it's a bug

FYI: issues are moved to discussions when they don't follow the reporting guidelines (instructions in "new issue" page). In your case, I can't remember anymore but it was probably that this is just a usage question with an editable example not a bug …

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@guyaumetremblay
Comment options

@posva
Comment options

Answer selected by posva
@guyaumetremblay
Comment options

@guyaumetremblay
Comment options

@posva
Comment options

Comment options

You must be logged in to vote
1 reply
@ddenev
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #1399 on June 27, 2022 12:28.