I have a react website which reads data from a source file (stored in /public) and displays it in an iframe. This data is changed by an external flask server when certain events are fired from my page. My problem is that when this file is changed, the entire page reloads, which breaks some functionality. I tried doing
npm run build and serving the build, but then the iframe doesn't update at all when it's changed. Is there any way to have the iframe refresh without letting the page refresh?