Amy Blankenship
Apr 12, 2023

For an example of what I mean by composability, see the "Liskov Substitution" section of this article https://medium.com/codex/can-we-all-just-admit-react-hooks-were-a-bad-idea-c48120c5188d.

And you also bring up a good point that most of the Array methods return a new Array, so when you're working in an environment where immutability is important, it often saves hassle to use them.

Amy Blankenship
Amy Blankenship

Written by Amy Blankenship

Full Stack developer at fintech company. I mainly write about React, Javascript, Typescript, and testing.

No responses yet