Skip to content

Commit c93f569

Browse files
committed
mince words.
1 parent 089c61b commit c93f569

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/guide/synced-values.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ counter = 1;
8383
```
8484

8585
### Alternative `@value` syntax
86-
You might have noticed the syntax for the counter above was gross because @syncedValue forces us to pass a type to access the overrides.
86+
You might have noticed the gross `Number as ValueTypeTag<number>` syntax above. This is because `@syncedValue` forces us to pass a type to access the overrides.
8787
If you want to override replicated on a primitive value, you can use `@value` which has a slightly different method signature of `{type, ...overrides}`
8888

8989
For example:
@@ -104,4 +104,4 @@ counter = 1;
104104
```
105105

106106
The only difference between `@syncedValue` and `@value` is the arrangement of the arguments. `@value` allows you to set overrides without specifying a type.
107-
Both are valid ways of representing the same thing.
107+
**Both are valid** representations of the same thing.

0 commit comments

Comments
 (0)