I'm fetching data from a soccer live API every minute using AWS for automation. I'd like to compare the new data with the old one. Each piece of data is an Array, so two JavaScript Arrays will be compared.
If there is a change in a new value, this value will be shown to the user at the Vue.js front-end. For example, the user will be alerted when shot on target rises to 4 from 3.
However, I'm struggling with that algorithm. Which libraries or functions will solve my problem?