Why React’s useState Isn’t a Good Solution for Derived Values
A common misuse of useState in React and a better solution
Published in
4 min readApr 13, 2021
State is one of the fundamental concepts in React. The useState
hook is the foundation of state management in functional React components. In fact, most beginners start their React journey by learning about state management and the useState
hook.