How to integrate Three.js with Next.js 15 App Router while maintaining high performance?