mirror of
https://github.com/centau/vide.git
synced 2026-10-23 05:46:26 +00:00
Fix scope stack staying broken after a yield in strict mode (#105)
Some checks are pending
unit-test / unit-test (push) Waiting to run
Some checks are pending
unit-test / unit-test (push) Waiting to run
* Fix scope stack staying broken after a yield in strict mode * Warn on a yield in strict mode instead of cancelling the thread * Fix type error when an effect errors outside strict mode
This commit is contained in:
parent
d99dbe1873
commit
033d30fbfb
3 changed files with 51 additions and 12 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