Skip to content

Commit b40f2c5

Browse files
Update website/src/content/docs/recipes/zag.mdx
Co-authored-by: Johan Venter <[email protected]>
1 parent 545c4b5 commit b40f2c5

File tree

1 file changed

+1
-1
lines changed
  • website/src/content/docs/recipes

1 file changed

+1
-1
lines changed

Diff for: website/src/content/docs/recipes/zag.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ at the same scope. We define a component-scoped molecule, and [lifecycle hooks](
6464
## Global state
6565

6666
If you want to share some state between components in Zag, then things become more tricky using the provided APIs. You can use `useService` to
67-
create a service, store in framework state, then share it `provide/inject` in vue or `Context` in React, and then use `useActor` in children components.
67+
create a service, store in framework state, then share it with `provide/inject` in Vue or `Context` in React, and then use `useActor` in children components.
6868
This is time-consuming boilerplate just to be able to share state.
6969

7070
**This is where Bunshi comes in.** You can use Zag to define a machine that is shared across your application, and Bunshi will look after creating it, starting it

0 commit comments

Comments
 (0)