Skip to content

Commit 5af4217

Browse files
authored
Update README.md
1 parent d3186b2 commit 5af4217

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ console.log(`Fibonacci Result: ${result}`)
103103
* You can run any JavaScript code you want in there.
104104
* You can use variables from "outside" (e.g. state), but those will be immutable/frozen.
105105
* You can use functions from "outside".
106-
- Worklets (functions with the `'worklet'` directive) can be called synchronously
107-
- Normal JS functions (e.g. setState) can be called with `runOnJS`
106+
- Worklets (functions with the `'worklet'` directive) can be called directly on the separate thread
107+
- Normal JS functions (e.g. setState) can be called on the React-JS thread with `runOnJS`
108108
- Native JSI functions ("host functions") can be called synchronously (e.g. functions from [react-native-mmkv](https://github.com/mrousavy/react-native-mmkv#usage))
109109
* You can assign Reanimated Shared Values.
110110

0 commit comments

Comments
 (0)