Open DevGareth opened 5 years ago
Have tried adding a photos state (to nodeviewer, rather than using props) which does seem to improve matters but still doesn't replace the first photo on clicking a different index. (Not added to git yet)
Have now pushed this to git. Does update the photo info but doesn't replace the image. I suspect that it does have the correct information to get the image but that it is somehow being intelligent and realising that there is already an existing component so it can just change it rather than remove and reload it. This causes photo to not re-render.
Maybe?
Not causing it to re-render when change index on graph. Not sure how to fix.