Wondering how it can be avoided:
import React, {useRef} from \'react\'
function TestComponent() { console.log(\'+++++ rerender\') const myState = useRe