Skip to content

Conversation

alabsi91
Copy link
Owner

@alabsi91 alabsi91 commented May 28, 2024

Summary

This PR addresses an issue for compiled commonjs code caused by the Reanimated Babel plugin. The plugin converts worklet functions to arrow functions, which disrupts function hoisting and leads to runtime errors.

Changes

Manually converted all affected worklet functions to arrow functions to ensure compatibility with the Reanimated Babel plugin.

@alabsi91
Copy link
Owner Author

#80

@alabsi91 alabsi91 merged commit 75c43c8 into main May 28, 2024
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.

1 participant