I am using react-big-calendar and getting event data from props (redux connect) from an API . How do I trigger a rerender when the data updates (add/delete or changed) and avoid