Skip to content

Conversation

@tjzel
Copy link
Collaborator

@tjzel tjzel commented Feb 28, 2024

Summary

Currently WorkletEventHandler can only be attached to a single component - however, we don't check for that and it can lead to issues when using Reanimated. This PR adds QoL warning if the handler is attached to multiple components.

Test plan

TBD

@tjzel tjzel requested review from piaskowyk and tomekzaw February 28, 2024 17:29
@piaskowyk
Copy link
Member

piaskowyk commented Jun 12, 2024

After changes in:

That changes are no longer relevant, so we we can close this one 🫡

@piaskowyk piaskowyk closed this Jun 12, 2024
@tjzel tjzel deleted the @tjzel/memoization/prevent-handler-multiple-registration branch August 19, 2024 11: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