mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
Update strict mode docs
This commit is contained in:
parent
bb08e2e97a
commit
299ebfc0ac
1 changed files with 1 additions and 2 deletions
|
|
@ -16,8 +16,7 @@ Currently, strict mode will:
|
||||||
3. Throw an error if yields occur where they are not allowed.
|
3. Throw an error if yields occur where they are not allowed.
|
||||||
4. Checks for `indexes()` and `values()` returning primitive values.
|
4. Checks for `indexes()` and `values()` returning primitive values.
|
||||||
5. Checks for duplicate nested properties at same depth.
|
5. Checks for duplicate nested properties at same depth.
|
||||||
6. Better error reporting and stack traces.
|
6. Better error reporting and stack traces + creation traces of property bindings.
|
||||||
7. Checks for multiple `cleanup()` calls in the same function scope.
|
|
||||||
|
|
||||||
By rerunning sources and effects, any side-effects are made more apparent.
|
By rerunning sources and effects, any side-effects are made more apparent.
|
||||||
This also helps ensure that cleanups are being handled correctly.
|
This also helps ensure that cleanups are being handled correctly.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue