chore(docs): Update state readme warning callout.

This commit is contained in:
Todd Martin 2026-04-03 16:21:23 -04:00 committed by GitHub
parent 52a507bc59
commit 63e0d07a39
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -251,7 +251,7 @@ type StateUpdateOptions = {
}
```
> [!WARNING] > `firstValueFrom()` and state updates
> [!WARNING] `firstValueFrom()` and state updates
>
> A usage pattern of updating state and then immediately requesting a value through `firstValueFrom()` > **will not always result in the updated value being returned**. This is because we cannot guarantee
> that the update has taken place before the `firstValueFrom()` executes, in which case the previous