You probably need to learn how do either design a better app, or write better react if you’ve got that much of the DOM updating at once.
I've written more React than most people, and am very intimately familiar with the internals, optimization and more.
With enough effort you can usually mitigate most of it, but I'm going as far as doing static compilation optimizations just to get it to feel good.