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

Separate Worklet and Non-Worklet Props #85

Merged
merged 7 commits into from
Feb 12, 2025

Conversation

alabsi91
Copy link
Owner

@alabsi91 alabsi91 commented Feb 5, 2025

This update introduces a clear separation between worklet and non-worklet props. Props like onChange and onComplete now explicitly accept worklet functions only, while their counterparts onChangeJS and onCompleteJS handle non-worklet functions running on the JS thread. This change introduces a breaking change in backward compatibility.

For testing: npm i [email protected]

Fixes #83

@alabsi91 alabsi91 merged commit bb2932d into main Feb 12, 2025
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.

Worklet Function not working
1 participant