I have an issue with my react app when importing react-pdf/renderer I get a huge performance spike. This needs to be fixed as I want to keep the app as light as possible.
Performance on page with the library in the import but unused (roughly 1.3GB)
Performance (pretty much average throughout the whole website) on any other page(roughly 250MB)
So my question is, has anyone managed to decrease the memory usage and if yes, how so?