Skip to content
This repository was archived by the owner on Jul 8, 2021. It is now read-only.

ofAction(MyActionClass, MyActionClassB) VS ofType('MyActionClass', MyActionClassB) #34

Open
acostaf opened this issue Feb 20, 2018 · 0 comments

Comments

@acostaf
Copy link

acostaf commented Feb 20, 2018

Hi Austin
I found that comparing ofAction vs ofType when passing more than one type gives two different result.

For instance having ofType('type1', 'type2') will work when both actions are invoke so uses the AND operator, however ofAction(type1, type2) works when any of those actions are invoked using the OR operator.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant