How to debug CPU spikes on my app and which package to use?

You can add this package and you will be able to take a CPU profile to analyze in your browser. In this profile, you will see what is taking the most time of your CPU and locking the event loop: https://github.com/quavedev/profile