You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above line solved the problem that during the call to HoleInteraction following props changes, the useState function call setting a degreeId as the initial state is not equivalent to calling setValueToDisplay so the component doesn't appear to rerender.
I need to find a way to test this and a way to solve the problem properly. I don't think the documented use of useEffect is for this purpose.