Closed albertogasparin closed 4 years ago
It might happen that a simple action calls setState generating the same shallow equal store state again. We want to avoid unnecessary re-renders (and potentially loops) for this scenario, so we always shallow check before re-rendering
It might happen that a simple action calls setState generating the same shallow equal store state again. We want to avoid unnecessary re-renders (and potentially loops) for this scenario, so we always shallow check before re-rendering