When an animal image is added on the animal details page, the Redux store does not get any notification that some animal has its image updated. AnimalCard component gets animal data the same as previously (without an image or an old image).
The easiest way is to dispatch a re-fetch command to get the new animal list data of the last query, or mark that existing animal list data is outdated.
The harder way is to force that one record to update, which may be too complex to implement in this stage.
When an animal image is added on the animal details page, the Redux store does not get any notification that some animal has its image updated. AnimalCard component gets
animal
data the same as previously (without an image or an old image).The easiest way is to dispatch a re-fetch command to get the new animal list data of the last query, or mark that existing animal list data is outdated.
The harder way is to force that one record to update, which may be too complex to implement in this stage.