I have a performance problem with my threeJS app. I am using it inside a React application. (create-react-app). Inside the development build (webpack start) the 3D Scene runs fine and super fast. (300fps). However, as soon as I start a production build and upload the application to the webserver, the performance drops noticeably. (30-60 FPS)
Any ideas what triggers this behavior and how I can prevent it? I am grateful for any hints.