Switching tabs and coming back to a page sometimes results in a 500 error because some data has been removed from the cache. We should probably look at our react-query settings and their documentation to figure out why this is happening.
We might also consider improving our types/remove some not-null assertions (!) so that we effectively don't accidentally access things that aren't there.
Switching tabs and coming back to a page sometimes results in a 500 error because some data has been removed from the cache. We should probably look at our
react-query
settings and their documentation to figure out why this is happening.We might also consider improving our types/remove some not-null assertions (
!
) so that we effectively don't accidentally access things that aren't there.