Great suggestion in the new React docs: Worried about the performance impact...


Great suggestion in the new React docs:

Worried about the performance impact of calculating a value on each render? Then use console.time to test the performance impact.

Often calculating on each render only requires a fraction of a millisecond. So, no need to memo. 👍

View original on X