The first is that while the code won’t have any visible flickering, it will still have a react hydration error on the <line> element. This is because there is a small gap of time between the inline script tag running and react running, so the secondRotation value won’t be exactly the same.
GitHub - facebookincubator/fastmod: A fast partial replacement for the codemod tool. Assists with large-scale codebase refactors via regex-based find and replace with human oversight and occasional intervention.