Skip to content

Barcelona | MCB-OCT2025 | Jannah Pitogo | Sprint-3 | Module-Legacy-Code - Bug Report: Hashtag Slowing Down The Browser - #4

Open
jannahpitogo wants to merge 1 commit into
mainfrom
hashtag-slowing-down-browser
Open

Barcelona | MCB-OCT2025 | Jannah Pitogo | Sprint-3 | Module-Legacy-Code - Bug Report: Hashtag Slowing Down The Browser#4
jannahpitogo wants to merge 1 commit into
mainfrom
hashtag-slowing-down-browser

Conversation

@jannahpitogo

Copy link
Copy Markdown
Owner

Summary: When a user clicks a hashtag, the browser loops the fetch of that hashtag infinitely. So the browser is being slowed down by that fetching.

Fix: I have added a fix to the function hashtagView so that the fetch won't loop infinitely by adding a comparison between a normalizedHastag and the currentHashtag in the state. It will just fetch when the normalizedHashtag is different from the currentHashtag state.

@jannahpitogo jannahpitogo changed the title Barcelona | MCB-OCT2025 | Jannah Pitogo | Sprint-3 | Module-Legacy-Code - Bug Report: Extra Long Bloom Barcelona | MCB-OCT2025 | Jannah Pitogo | Sprint-3 | Module-Legacy-Code - Bug Report: Hashtag Slowing Down The Browser Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant