mirror of
https://github.com/centau/vide.git
synced 2026-10-23 14:21:38 +00:00
Warn on a yield in strict mode instead of cancelling the thread
This commit is contained in:
parent
6b0bbf0cf4
commit
d933fe8e9c
3 changed files with 33 additions and 24 deletions
|
|
@ -15,7 +15,7 @@ and identifying improper usage.
|
|||
Currently, strict mode will:
|
||||
|
||||
1. Run reactive scopes twice when a source updates.
|
||||
2. Throw an error if yields occur where they are not allowed.
|
||||
2. Warn if yields occur where they are not allowed.
|
||||
3. Checks for `values()` input having duplicate values.
|
||||
4. Checks for duplicate nested properties at same depth.
|
||||
5. Checks for destruction of an active scope.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue