I have a react component that receives props from the redux store every second. The new state has an array that\'s different than the last array. To be specific, every second an
There is quite an easy solution for this. React VDOM is just a diffing algorithm. The only piece missing with your JSX is something called key which is like an id that the diffing algo uses and renders the particular element. Just tag the element with a KEY something like this https://reactjs.org/docs/lists-and-keys.html#keys
-
{number}