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

fix(glean): gleanClick changes between re-renders #9108

Merged
merged 1 commit into from
Jun 16, 2023

Conversation

LeoMcA
Copy link
Member

@LeoMcA LeoMcA commented Jun 16, 2023

this causes any useEffects depending on it to fire on every render

should fix the underlying problem in #9106 (MP-482)


How did you test this change?

Set:

REACT_APP_GLEAN_ENABLED=true
REACT_APP_GLEAN_DEBUG=true

and observed glean events in console not being sent for every keypress in the sidebar filter.

this causes any useEffects depending on it to fire on every render

should fix the underlying problem in #9106
@caugner caugner merged commit db88b56 into main Jun 16, 2023
@caugner caugner deleted the fix-gleanClick-changing-on-rerenders branch June 16, 2023 17:16
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