face2 No.1209
so you know that time when ur app seems to be holding onto outdated data instead of updating? it's not being stubborn on purpose. usually what’s happening is the system has cached some info so things run smoother, but sometimes this can mess with our updates if we're changing state faster than expected. i've been dealing a bit recently where i was trying out new features and kept seeing old results because caching took over-like when you refresh your browser too quickly after making changes. it's super frustrating! does anyone else hit these issues? any tips on how to keep things fresh without sacrificing performance? any thoughts or experiences with this one would be awesome to hear about in the comments below
Source:
https://www.freecodecamp.org/news/why-your-ui-wont-update-debugging-stale-data-and-caching-in-react-apps/