Skip to content

Conversation

@szydlovsky
Copy link
Contributor

Summary

registerEventHandler and unregisterEventHandler methods in JS Reanimated were empty so far, but used in WorkletEventHandler. Since #5845 makes sure they are not used anymore, we can throw errors instead of keeping them empty.

Note: to be merged after #5845 gets merged.

Test plan

:shipit:

@szydlovsky szydlovsky requested a review from tjzel April 2, 2024 15:23
@tjzel
Copy link
Collaborator

tjzel commented Apr 2, 2024

Please change made to make in PR title 😭

@szydlovsky szydlovsky changed the title Made unneeded and empty JS reanimated methods throw errors Make unneeded and empty JS reanimated methods throw errors Apr 3, 2024
Copy link
Member

@tomekzaw tomekzaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@szydlovsky szydlovsky added this pull request to the merge queue Apr 17, 2024
Merged via the queue into main with commit f880dfa Apr 17, 2024
@szydlovsky szydlovsky deleted the @szydlovsky/registerEventHandler-JS-errors branch April 17, 2024 11:50
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.

3 participants