Whenever the user navigates to a certain hashtag, if they're already on the view for that hashtag they still will be redirected to the same hashtag, navigating again which allocates more memory for the fetching and can lead to memory bloating. It is also redoing the fetch every time unnecessarily.
Environment:
Description
Whenever the user navigates to a certain hashtag, if they're already on the view for that hashtag they still will be redirected to the same hashtag, navigating again which allocates more memory for the fetching and can lead to memory bloating. It is also redoing the fetch every time unnecessarily.
Evidence
https://github.com/Dimillian/IceCubesApp/assets/77981728/00a12b0e-5aed-4d03-a792-41602a0fa383
I also ran this using simulator and instruments to see how it is affecting performance and memory.
Related Issues