Map, filter, reduce, iterators, generators, and selectors. Not too much, right? Don't get too scared, can you speak English using only 10 words? No? Okay, then we can proceed with learning some new words that will make us more fluent in JavaScript programming.
Learning functions from the Ramda library
Composing functions
One of the most advertised features of HOCs is their composability. Taking, for instance, the withLogger, withAnalytics, and withRouter HOCs, we can compose them in the following fashion:
withLogger(withAnalytics(withRouter(SomeComponent)))
The Ramda library takes composability to the next level. Unfortunately, I find many developers hardly understand it. Let's look at an equivalent example:
R.compose...