Page Reload on changes in assets

Hello,
I have created a web app using solid js in which I get events from websocket,in the onmessage of websocket I update my event array and thus my list is updated. I am showing an image on the list item from a local folder using the id of the event the path is “…/path)to_folder/eventId.jpg” but whenever the image is added to the folder from the python backend my page reloads.
Can anybody help me with this issue.

Thank You.

Hu @Karanahir, this forum is about https://solidproject.org, a project to give people more control over their data. You’re looking for the JS framework, https://www.solidjs.com.