Skip to content

Commit

Permalink
Update packages/docs-reanimated/docs/guides/worklets.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Tomek Zawadzki <tomasz.zawadzki@swmansion.com>
  • Loading branch information
kacperkapusciak and tomekzaw authored Nov 21, 2024
1 parent 270c2c0 commit 5cfe20b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs-reanimated/docs/guides/worklets.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@ Worklets can run in other runtimes than the one provided by Reanimated. For exam

You can create your own worklet runtimes with [`createWorkletRuntime`](/docs/threading/createWorkletRuntime) function.

There's no UI thread available on the Web platform. Because of that, when Reanimated runs in the browser, worklets are resolved to plain JavaScript functions and the `'worklet';` directive has no effect.
There's no separate UI thread available on the Web platform. Because of that, when Reanimated runs in the browser, worklets are resolved to plain JavaScript functions and the `'worklet';` directive has no effect.

0 comments on commit 5cfe20b

Please sign in to comment.