react three fiber scene lagging on windows when keyboard keys are held down
I have a next JS app that is using react through fiber to create and render a scene with a model of an airplane. I have an array that contains about 50,000 objects that describe the airplanes position and rotation. I’m using the use frame hook to set an active index based on how much time has passed in between frames.