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

[Plugin Action Support] Add missing dependency for action effect hook #14

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

alisonjlai
Copy link
Contributor

Found this bug that makes the Cypress test flaky. Adding effect in the dependency array ensures the effect is correctly registered when the effect function changes and properly cleaned up when the component unmounts or dependencies change.

@alisonjlai alisonjlai merged commit 6c774a1 into plugin-actions Aug 7, 2024
1 check passed
@alisonjlai alisonjlai deleted the alison/update-hook-dependency branch August 7, 2024 21:03
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