You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since I understand that gesture handler and reanimated2 use worklet for UI performance, when I encounter this error, tried to add runOnJS to gesture, but eslinter warns me no-unsafe-call. (https://typescript-eslint.io/rules/no-unsafe-call/)
anyway it works fine.
So I added // eslint-disable-next-line @typescript-eslint/no-unsafe-call to disable warning temporarily, But I wonder how to fix this problem Fundamentally.
my development environment :
System:
OS: macOS 12.1
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 49.21 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 17.0.1 - /usr/local/bin/node
Yarn: 1.22.11 - /usr/local/bin/yarn
npm: 8.1.0 - /usr/local/bin/npm
Watchman: 2021.11.15.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.2 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.0.1, iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0
Android SDK:
API Levels: 23, 28, 29, 30, 31
Build Tools: 29.0.2, 30.0.2, 31.0.0
System Images: android-29 | Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom_64, android-29 | Google Play Intel x86 Atom_64, android-30 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom, android-31 | Google APIs Intel x86 Atom_64, android-31 | Google Play Intel x86 Atom_64
Android NDK: Not Found
IDEs:
Android Studio: 2020.3 AI-203.7717.56.2031.7621141
Xcode: 13.1/13A1030d - /usr/bin/xcodebuild
Languages:
Java: 11.0.12 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.67.2 => 0.67.2
react-native-macos: Not Found
npmGlobalPackages:
*react-native*: Not Found
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'm making some my own slider for my project with typescript.
my code is below here.
when execute without adding
.runOnJS(true)
,Since I understand that gesture handler and reanimated2 use worklet for UI performance, when I encounter this error, tried to add runOnJS to
gesture
, but eslinter warns meno-unsafe-call
. (https://typescript-eslint.io/rules/no-unsafe-call/)anyway it works fine.
So I added
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
to disable warning temporarily, But I wonder how to fix this problem Fundamentally.my development environment :
thanks for awesome library!
Beta Was this translation helpful? Give feedback.
All reactions