I thinking about implementing properties deleting.
For example I have reactive graph like this:
b = a => a + 1;
c = b => b + 1;
d = a => a + 1;
e = (b, c) => b + c;
f = e => e * 2;
log = f => console.log(f);
a = 5;
If I delete d property it is not a problem: I need only delete it from states, functions and edges.
But if I want to delete c property I can't decide what I need to do with:
- Should I reset state of dependent e property to undefined?
- Should I reset state of f property to undefined which is dependent to e?
- What I need to do with log function? I think this function should not executed with undefined argument
P.S. Sorry for my English :)
I thinking about implementing properties deleting.
For example I have reactive graph like this:
If I delete d property it is not a problem: I need only delete it from states, functions and edges.
But if I want to delete c property I can't decide what I need to do with:
P.S. Sorry for my English :)