So, here's what I have. A very simple Flask app, with one route that listens for POST and GET methods. I have a separate python script that is constantly outputting data. Right now, it is post'ing that data to the flask app, which takes that data, appends it to a list, then when someone visits or refreshed the webpage, the entire list is rendered into a template. I would like to not have to refresh the page to see this, and would rather it be just a live feed of data.
Currently I don't know how to use either SocketIO or AJAX, but I know that one of these is what I should be using. My ask here is which one? There will eventually be more scripts sending data to this app, which will ultimately turn into a dashboard of sorts. Starting small for now and getting just one working how I want. So my ask is, which would be a better solution, or are they both equal given what I want to do?