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
* You can run any JavaScript code you want in there.
104
104
* You can use variables from "outside" (e.g. state), but those will be immutable/frozen.
105
-
* You can use functions from "outside".
105
+
* You can use functions from "outside".
106
106
- Worklets (functions with the `'worklet'` directive) can be called directly on the separate thread
107
107
- Normal JS functions (e.g. setState) can be called on the React-JS thread with `runOnJS`
108
108
- Native JSI functions ("host functions") can be called synchronously (e.g. functions from [react-native-mmkv](https://github.com/mrousavy/react-native-mmkv#usage))
@@ -129,6 +129,10 @@ Be aware that there always will be a small overhead when calling `spawnThread`,
129
129
## Credits
130
130
131
131
*[react-native-reanimated](http://github.com/software-mansion/react-native-reanimated) for Shared Value adapting, essentially allowing JSI multithreading
132
+
*[**@karol-bisztyga**](https://github.com/karol-bisztyga) and [**@piaskowyk**](https://github.com/piaskowyk) for helping me understand a few parts of Reanimated better
133
+
*[**@Szymon20000**](https://github.com/Szymon20000) for taking time to review and merge my Reanimated PRs
134
+
*[JNI tips](https://developer.android.com/training/articles/perf-jni) and [fbjni](https://github.com/facebookincubator/fbjni) to make Android JNI interop easier
135
+
*[**@iamyellow**](https://github.com/iamyellow) for being a huge help on the Android side
132
136
*[Erik the Coder](https://www.erikthecoder.net/2019/03/30/async-does-not-imply-concurrent/) for the Icon
0 commit comments