From e795b9ef241a28b434e2a5ccf46fa7f2fbd4c0d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Gr=C3=B8ngaard?= Date: Sat, 29 Jun 2024 06:58:17 -0700 Subject: [PATCH] Fix sentence Now the sentence reads: "It is recommended to use `sendTo(...)` to pass actor refs (e.g. the parent actor ref) to other actors". This looks more right, but I'm actually not completely sure if it's still worded correctly. @davidkpiano , you know best here. --- docs/actions.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/actions.mdx b/docs/actions.mdx index 5ff7a02f..4861c9cf 100644 --- a/docs/actions.mdx +++ b/docs/actions.mdx @@ -486,7 +486,7 @@ The `sendParent(...)` action is a special action that sends an event to the pare :::tip -It is recommended to use `sendTo(...)` by to pass actor refs (e.g. the parent actor ref) to other actors via [input](./input.ts) or events and storing those actor refs in `context` rather than using `sendParent(...)`. This avoids tight coupling between actors and can be more type-safe. +It is recommended to use `sendTo(...)` to pass actor refs (e.g. the parent actor ref) to other actors via [input](./input.ts) or events and storing those actor refs in `context` rather than using `sendParent(...)`. This avoids tight coupling between actors and can be more type-safe.
Example using input: