These days Chrome has a "memory saver" feature that deactivates inactive tabs and free their memory. It's something Apple pioneered in mobile Safari from the very beginning. For people like me who keep 500+ tabs open always, it's a great feature.
I’m sure this issue is found in react hooks all over the place.