Skip to content

Commit 221c02b

Browse files
authored
Update README.md
1 parent 7d1316c commit 221c02b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ console.log(`Fibonacci Result: ${result}`)
101101
## What's possible?
102102

103103
* You can use variables from "outside" (e.g. state), but those will be immutable/frozen.
104-
* You can use functions from "outside" if they also contain the `'worklet'` directive.
104+
* You can use functions from "outside". If they also contain the `'worklet'` directive they can be called synchronously, otherwise they have to be dispatched to the JS thread by using `runOnJS`.
105105
* You can assign Reanimated Shared Values.
106106
* You can call native JSI functions ("Host Functions") from a JSI library, e.g. every function [react-native-mmkv](https://github.com/mrousavy/react-native-mmkv#usage) provides.
107107
* You can asynchronously dispatch calls to functions from "outside" using `runOnJS` from react-native-reanimated.

0 commit comments

Comments
 (0)