I used both methods but I am quite confused regarding the usage of both methods.
Is anything that map can do but reduce can not and vice ve
map
reduce
I think this picture will answer you about the difference between those HOC