Yes, I was thinking that as well. When chaining a sequence of maps, it's better to only map once using a composition of functions.
I'm curious as to why you think it's better to "map once". I personally prefer using "then" repeatedly, because it might take a while for people who aren't familiar with functional programming to grab the concept of piping.
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.