mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
Update reactive scoping docs
This commit is contained in:
parent
c68d0a6c18
commit
71bbaa2092
3 changed files with 189 additions and 57 deletions
24
todo.md
24
todo.md
|
|
@ -9,26 +9,4 @@
|
|||
- batch
|
||||
- optimize `indexes()` double-diffing
|
||||
- improve crash course, some sections feel like information dumps
|
||||
- reactive scopes
|
||||
- define behavior of creating a reactive scope within a non-root reactive scope
|
||||
- i.e. an effect within an effect
|
||||
- error on attempt for now
|
||||
- define behavior of destruction of a node with a child, where the node and
|
||||
its child are in separate, non-nested root reactive scopes.
|
||||
- should destruction of the parent also destroy the child?
|
||||
- or should destruction of the parent silently disconnect the child, without
|
||||
invoking the child's cleanups?
|
||||
|
||||
```mermaid
|
||||
graph LR
|
||||
|
||||
subgraph root1
|
||||
parent
|
||||
end
|
||||
|
||||
subgraph root2
|
||||
child
|
||||
end
|
||||
|
||||
parent --> child
|
||||
```
|
||||
- cleanup source and tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue