low: replace effect method to some unsubscriber registrator
Closed this issue · 2 comments
betula commented
effect(() => () => ( // Ugly (((
this.items_destroy && this.items_destroy()
));
// Must be pretty
unsub(() => {
this.items_destroy && this.items_destroy()
});
// ... Think about
// Or perfect one!
un(() => {
this.items_destroy && this.items_destroy()
});
betula commented
betula commented
Implemented in 0.6.0