Skip to content

Conversation

@MatiPl01
Copy link
Owner

Description

It looks like reanimated's babel plugin in old reanimated versions didn't support file-level 'worklet' directive. To fix the issue, I had to remove all file-level directives and move them to particular functions.

@MatiPl01 MatiPl01 self-assigned this Oct 26, 2025
@vercel
Copy link

vercel bot commented Oct 26, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
react-native-sortables-docs Ignored Ignored Oct 26, 2025 10:21pm

@github-actions github-actions bot added the fix label Oct 26, 2025
@MatiPl01 MatiPl01 merged commit 8d32a45 into main Oct 26, 2025
11 checks passed
@MatiPl01 MatiPl01 deleted the fix/non-worklet-function branch October 26, 2025 22:25
MatiPl01 pushed a commit that referenced this pull request Oct 27, 2025
## [1.9.3](v1.9.2...v1.9.3) (2025-10-27)

### Bug Fixes

* Entering layout animation flickering ([#509](#509)) ([a088626](a088626))
* Fix Tried to synchronously call a non-worklet function ([#507](#507)) ([8d32a45](8d32a45))
* Grid layout issues on web ([#510](#510)) ([dc9c3cd](dc9c3cd)), closes [#509](#509)
@MatiPl01
Copy link
Owner Author

🎉 This issue has been resolved in version 1.9.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] ReanimatedError: Tried to synchronously call a non-worklet function resolveDimension when using react-native-sortables

2 participants