My Electron + React App uses ReactPDF to render documents, however if I change some variables and set state that have nothing to do with it, the document will re-render, whi