Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 361 Bytes

File metadata and controls

7 lines (5 loc) · 361 Bytes
@preact/signals-core patch

Prevent model effect capture while creating effects inside untracked() and action() callbacks.

If you create an effect() inside an untracked() callback within a createModel() factory, that effect is no longer disposed when the model is disposed. Use the disposer returned by effect() to clean it up manually.