Skip to content

Birmingham | 2026-MAR-SDC | Joy Opachavalit | Sprint 1 | Hashtag slowing down my browser#220

Open
enjoy15 wants to merge 1 commit into
CodeYourFuture:mainfrom
enjoy15:hashtag-slow
Open

Birmingham | 2026-MAR-SDC | Joy Opachavalit | Sprint 1 | Hashtag slowing down my browser#220
enjoy15 wants to merge 1 commit into
CodeYourFuture:mainfrom
enjoy15:hashtag-slow

Conversation

@enjoy15

@enjoy15 enjoy15 commented Jun 16, 2026

Copy link
Copy Markdown

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

Wrapping the existing apiService.getBloomsByHashtag(hashtag) call in an if guard so it stops fetching once the hashtag's data is already in state, which breaks the infinite render loop.

@enjoy15 enjoy15 added 📅 Sprint 1 Assigned during Sprint 1 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. 📅 Sprint 1 Assigned during Sprint 1 of this module

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant