Ah thank you for that.
How does one know when you need to combine them or not?
I thought if I filtered first, then stored it in a var say x, then used .map on that x and store it in new var say y, it would lead to the same result?
I had the same concern with the above question where eveyrthing was chained together as you explained. However, I left with the understanding that simply splitting it up like…
object.function();
object.function2();
object.function3();
was equal to
object.function().function2().function3();
(An example of above is how socialWindow was handled in the link above)
Hope what I’m asking makes sense?