Open
Description
Hi~ Dear xiaorui, run this follow code got some error
const foo = reactive({
count: 0,
name: "cui",
});
effect(() => {
effect(() => {
console.log("inside effect: ", foo.name);
});
console.log("outside effect: ", foo.count);
});
foo.count++;
running example code catch an error like this:
Uncaught TypeError: dep is not iterable (cannot read property undefined)
So. expected author add feature to allow nested effects ?
Metadata
Metadata
Assignees
Labels
No labels