0

Is it possible to determine the last called action in an Angular/Redux project in the code so that I can react on it in the observer? Currently I am using a property in my redux store which is set to the current name of the action in the corresposonging reducer, but is there an easier way to do this?

richard
  • 724
  • 2
  • 14
  • 36
  • Are you using Redux DevTools Chrome extention https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd?hl=en? It is tool showing redux actions of your application with all related data – IgorK Jun 17 '22 at 00:12
  • Sorry, I meant that I want to get the name of the last action in the code so that I can react on it in the redux observer. – richard Jun 17 '22 at 06:58
  • 1
    I believe then you can just create effect in your redux store without any action filter – IgorK Jun 17 '22 at 12:42

0 Answers0