Skip to content

Commit a7658be

Browse files
authored
Update README.md
1 parent 800b0d4 commit a7658be

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
@@ -106,8 +106,8 @@ console.log(`Fibonacci Result: ${result}`)
106106
* You can use variables from "outside" (e.g. state), but those will be immutable/frozen.
107107
* You can use functions from "outside".
108108
- Worklets (functions with the `'worklet'` directive) can be called directly on the separate thread
109-
- Normal JS functions (e.g. setState) can be called on the React-JS thread with `runOnJS`
110109
- Native JSI functions ("host functions", aka functions that print `function f() { [native code] }` when you call `.toString()` on them) can be called synchronously (e.g. functions from [react-native-mmkv](https://github.com/mrousavy/react-native-mmkv#usage))
110+
- Normal JS functions (e.g. setState) can be called on the React-JS thread with [`runOnJS`](https://docs.swmansion.com/react-native-reanimated/docs/api/runOnJS)
111111
* You can assign Reanimated Shared Values.
112112

113113
## What's not possible?

0 commit comments

Comments
 (0)