-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Description Babel was changing some construction to non-workletized functions inside the worklet function. For example, `Object.assign()` was sometimes changed to babel implementation - this implementation wasn't worklet. That was the cause of the worklet runtime error. Fixes #2142 Known problem: In a scenario when we have nested worklets the inner one won't be workletized with asString property of the outer one. It may cause problems in the future when sending functions between several threads will be more common. However, I don't think we have such examples in the reanimated world right now.
- Loading branch information
Showing
1 changed file
with
23 additions
and
68 deletions.
There are no files selected for viewing
This file contains 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