Why you should avoid using state for computed properties
Understand why creating state variables for properties that can be computed is a bad idea, and how you can handle some edge cases when you need to derive your state from props.
18 Jul 2021 9 min read
React Best Practices