Summary
In this chapter, we took a deep dive into one of the most esoteric branches of JavaScript programming. We learned about monads, how to use them for the greater good, and how not to care about the laws of math if we really don't need to. Then, we got comfortable using vocabulary such as pure functions, mutable/immutable objects, and referential transparency.
We know that there is a caching pattern for pure functions if we need it. This great approach can be useful in many Flux apps. You now can work effectively with selectors and make them dead simple using the Maybe monad, which takes away the null-checking burden.
With all of this expertise, it is now time to learn the challenges of maintaining dependencies and large code bases. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access