value is coming from a redux store in props. I want to use useEffect to set the state of a value displayed on the screen. useEffect has a very unexpected behavior:<
value