79284922

Date: 2024-12-16 14:09:11
Score: 0.5
Natty:
Report link

I got it to stop re-rendering by putting the src attribute in a useMemo. I actually put everything that might force a re-rendering in some sort of memo and I think that useMemo for the src was what got it to stop reloading.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mats