Skip to content

Conversation

@fboulnois
Copy link
Contributor

@fboulnois fboulnois commented Jan 28, 2026

Addresses

https://broadworkbench.atlassian.net/browse/DT-2848

Summary

The goal of this set of PRs is to decrease the number of warnings from ESLint to zero.

This PR removes a number of set-state-in-effect anti-patterns which cause extra renders and stale state bugs. This replaces several effect driven state updates with memoized computations or direct constants instead.

This decreases the number of ESLint warnings from 17 to 12 (-5).


Have you read Terra's Contributing Guide lately? If not, do that first.

  • Label PR with a Jira ticket number and include a link to the ticket
  • Label PR with a security risk modifier [no, low, medium, high]
  • PR describes scope of changes
  • Get a minimum of one thumbs worth of review, preferably two if enough team members are available
  • Get PO sign-off for all non-trivial UI or workflow changes
  • Verify all tests go green
  • Test this change deployed correctly and works on dev environment after deployment

@fboulnois fboulnois requested a review from a team as a code owner January 28, 2026 17:50
@fboulnois fboulnois requested review from kevinmarete and rushtong and removed request for a team January 28, 2026 17:50
@sonarqubecloud
Copy link

@fboulnois fboulnois marked this pull request as draft January 28, 2026 18:40
@fboulnois fboulnois closed this Jan 28, 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.

2 participants