A useState performance tip you may not have known
Let's say we have a react component with a useState inside it.    const expensiveCalculation = ()...
Tags: react, webdev, javascript, webperf