You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create two different actions and their respective Success actions.
Use a service to return data.
Dispatch the two actions at the same time.
Observed behavior
When you have multiple actions that are dispatched at the same time, the logger group the actions, creating some confusion to understand what is happening.
For me, does not make sense Load Toppings to be inside of Load Pizzas. Well, I don't exactly know how grouping works, but if you use some delay, then the actions are correctly set.
I think that the logger should not group those Actions, since they are not exactly children of each other. It creates a little bit confusion when you look at your logs and try to understand what is happening. Actually, I don't know whether this is a normal behavior or not.
Thanks in advance! :)
The text was updated successfully, but these errors were encountered:
splincode
changed the title
Logger logs out of order when multiple actions are dispatched
🐞[BUG]: Logger logs out of order when multiple actions are dispatched
Nov 4, 2019
Versions
Repro steps
Stackblitz: https://stackblitz.com/edit/angular-l4zxsn
Observed behavior
When you have multiple actions that are dispatched at the same time, the logger group the actions, creating some confusion to understand what is happening.
For me, does not make sense Load Toppings to be inside of Load Pizzas. Well, I don't exactly know how grouping works, but if you use some delay, then the actions are correctly set.
Desired behavior
I think that the logger should not group those Actions, since they are not exactly children of each other. It creates a little bit confusion when you look at your logs and try to understand what is happening. Actually, I don't know whether this is a normal behavior or not.
Thanks in advance! :)
The text was updated successfully, but these errors were encountered: