Reactjs – Explain the following behavior of useRef
The first time the page is loaded, the value of renderCount will be 1. However, when I start typing in the input, the value of renderCount jumps directly from 1 to 3. I checked in Chrome under Components, and there…