Add check for destruction of active scope

This commit is contained in:
aaron 2024-11-13 21:56:22 +00:00
parent a1552402cb
commit 0897821e1f
3 changed files with 62 additions and 2 deletions

View file

@ -19,7 +19,8 @@ Currently, strict mode will:
3. Checks for `indexes()` and `values()` outputting primitive values.
4. Checks for `values()` input having duplicate values.
5. Checks for duplicate nested properties at same depth.
6. Better error reporting and stack traces + creation traces of property bindings.
6. Checks for destruction of an active scope.
7. Better error reporting and stack traces + creation traces of property bindings.
By rerunning reactive scopes twice each time they update, it helps ensure that
computations are pure, and that any cleanup is done correctly.