Skip to content

Commit

Permalink
feat(04-zkapp-ui-with-react.mdx): include Setup web workers section
Browse files Browse the repository at this point in the history
  • Loading branch information
ymekuria committed Sep 27, 2024
1 parent 3f3a5f6 commit 5671528
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/zkapps/tutorials/04-zkapp-ui-with-react.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,12 @@ The example project has a completed app. The `page.tsx` file is the entry file f

1. Move the `page.tsx` file to your local `04-zkapp-browser-ui/ui/app` directory.

### Setup web workers

The web worker code resides in the `04-zkapp-browser-ui/ui/app/zkappWorker.ts` file. Here, you define the functions that will be executed in the worker thread.



### Environment configuration

- In `04-zkapp-browser-ui/ui/app/page.tsx`
Expand Down

0 comments on commit 5671528

Please sign in to comment.