fix JSError [Worklets] Tried to synchronously call a non-worklet function _temp on the UI thread#3701
Open
cauyyl wants to merge 4 commits intoShopify:mainfrom
Open
fix JSError [Worklets] Tried to synchronously call a non-worklet function _temp on the UI thread#3701cauyyl wants to merge 4 commits intoShopify:mainfrom
_temp on the UI thread#3701cauyyl wants to merge 4 commits intoShopify:mainfrom
Conversation
Contributor
|
Looks good to me can you sign the CLA? |
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.
terminating due to uncaught exception of type facebook::jsi::JSError: [Worklets] Tried to synchronously call a non-worklet function
_tempon the UI thread.See https://docs.swmansion.com/react-native-reanimated/docs/guides/troubleshooting#tried-to-synchronously-call-a-non-worklet-function-on-the-ui-thread for more details.
Error: [Worklets] Tried to synchronously call a non-worklet function
_tempon the UI thread.See https://docs.swmansion.com/react-native-reanimated/docs/guides/troubleshooting#tried-to-synchronously-call-a-non-worklet-function-on-the-ui-thread for more details.
at fun (valueUnpacker:34:24)
at map (native)
at CursorTsx1 (xxx/components/charts/Wallet/components/Cursor.tsx:26:20)
at reactNativeReanimated_useDerivedValueTs1 (xxx/node_modules/react-native-reanimated/src/hook/useDerivedValue.ts:68:35)
at mapperRun (xxx/node_modules/react-native-reanimated/src/mappers.ts:101:26)
at anonymous (xxxnode_modules/react-native-worklets/src/threads.ts:40:32)
at callMicrotasksOnUIThread_reactNativeWorklets_threadsTs2 (xxx/node_modules/react-native-worklets/src/threads.ts:52:27)
at reactNativeWorklets_threadsTs10 (xxx/node_modules/react-native-worklets/src/threads.ts:433:24)
at callGuard (native)
CoreSimulator 1010.15 - Device: iPhone 16 (0887392F-35E6-46A3-8665-2BE82B932BE2) - Runtime: iOS 18.6 (22G86) - DeviceType: iPhone 16
Type: LLDB