-
-
Notifications
You must be signed in to change notification settings - Fork 865
Closed
Labels
enhancementNew feature or requestNew feature or requestinvalidThis doesn't seem rightThis doesn't seem right
Description
Why it is needed
Currently, the library supports Reanimated v3, but I have updated my project to use Reanimated v4. After the update, I encountered the following error:
Warning: TypeError: useWorkletCallback is not a function (it is undefined)
This suggests that the library is not compatible with Reanimated v4. Supporting the latest version would help users who want to stay up to date with dependencies and benefit from improvements in Reanimated v4.
Possible implementation
- Update the library to support Reanimated v4 APIs.
- Ensure that all hooks and methods (such as
useWorkletCallback
) are compatible with v4. - Add tests to verify compatibility with both v3 and v4, if possible.
Code sample
Currently, using the library with Reanimated v4 produces the error above. Once v4 is supported, the expectation is that the library should work without changes for users on the latest version.
Thank you for considering this feature request!
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestinvalidThis doesn't seem rightThis doesn't seem right