This issue with shadows started from ThreeJS r155, and occurs with most version combinations of React & R3F.
ThreeJS r155 had introduced several lighting changes, but I haven’t dug further to see what exactly changed in the ThreeJS library to cause this issue.