mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
Update docs
This commit is contained in:
parent
8a4aae1be9
commit
4b877ce8ff
4 changed files with 20 additions and 25 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
## cleanup()
|
||||
|
||||
Runs a callback anytime a reactive scope is re-ran.
|
||||
Runs a callback anytime a reactive scope is reran or destroyed.
|
||||
|
||||
- **Type**
|
||||
|
||||
|
|
@ -26,7 +26,8 @@ Runs a callback anytime a reactive scope is re-ran.
|
|||
|
||||
## untrack()
|
||||
|
||||
Runs a given function where any sources read will not track its reactive scope.
|
||||
Runs a given function where any sources read will not be tracked by a reactive
|
||||
scope.
|
||||
|
||||
- **Type**
|
||||
|
||||
|
|
@ -58,7 +59,8 @@ Runs a given function where any sources read will not track its reactive scope.
|
|||
|
||||
## read()
|
||||
|
||||
Utility used to read a value that is either a primitive or a source.
|
||||
Utility used to read a value that is either a primitive or a source. Sources
|
||||
read can still be tracked inside a reactive-scope.
|
||||
|
||||
- **Type**
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue