React Hooks: How to Refactor Computed Properties and Derived State
When writing React, the easiest way to bloat your components isn't network requests or animations — it's storing just a little too much state. In this article, we'll start with the problem of derived state and gradually unpack the design issues and their solutions.