feat(Worklets): stable api bindings for Reanimated#8996
Open
Conversation
Base automatically changed from
@tjzel/reanimated/dont-use-WorkletsModule
to
main
February 23, 2026 10:12
github-merge-queue bot
pushed a commit
that referenced
this pull request
Feb 27, 2026
## Summary In #8996 `SerializableType` enum will have to be locked. For that reason we should already add the `SymbolType` to the enum to not break ABI in the future if we want to implement it. ## Test plan 🚀
tjzel
commented
Feb 27, 2026
packages/react-native-worklets/Common/cpp/worklets/SharedItems/Serializable.h
Show resolved
Hide resolved
tomekzaw
reviewed
Mar 9, 2026
packages/react-native-worklets/Common/cpp/worklets/WorkletRuntime/WorkletRuntime.cpp
Show resolved
Hide resolved
tomekzaw
reviewed
Mar 9, 2026
packages/react-native-reanimated/Common/cpp/reanimated/AnimatedSensor/AnimatedSensorModule.cpp
Show resolved
Hide resolved
packages/react-native-reanimated/Common/cpp/reanimated/AnimatedSensor/AnimatedSensorModule.cpp
Outdated
Show resolved
Hide resolved
packages/react-native-reanimated/Common/cpp/reanimated/CSS/common/values/CSSValueVariant.cpp
Outdated
Show resolved
Hide resolved
packages/react-native-worklets/Common/cpp/worklets/Compat/StableApi.cpp
Outdated
Show resolved
Hide resolved
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is a part of:
Requires
Summary
This PR introduces stable API definitions file
StableApi.hin Worklets which in turn can be copied or included by libraries to link with symbols from Worklets without requiring implementation headers.The version of this header isn't release-ready for the moment - these are only bindings used by Reanimated. We're going to look into what do other libraries need too.
Test plan
CI