Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flagd-ui refactor: fixed eslint ignore comment with useCallback #1923

Merged

Conversation

maindotmarcell
Copy link
Contributor

@maindotmarcell maindotmarcell commented Jan 16, 2025

Changes

Removed ES-Lint ignore comment in useEffect.
Refactored the useEffect inside the AdvancedView.tsx file, so that the required values are included in the dependency array (letting us remove the es-lint ignore comment) and requestSchemas function is memoized with useCallback (preventing unnecessary re-renders).

Merge Requirements

  • CHANGELOG.md updated to document new feature additions
  • Appropriate Helm chart updates in the helm-charts

Maintainers will not merge until the above have been completed. If you're unsure
which docs need to be changed ping the
@open-telemetry/demo-approvers.

@maindotmarcell maindotmarcell marked this pull request as ready for review January 16, 2025 14:25
@maindotmarcell maindotmarcell requested a review from a team as a code owner January 16, 2025 14:25
@maindotmarcell maindotmarcell force-pushed the refactor-flagd-ui-use-effect branch from 87b53e2 to 25fbef6 Compare January 16, 2025 14:26
@julianocosta89 julianocosta89 merged commit a7bbd6c into open-telemetry:main Jan 16, 2025
31 checks passed
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