adamhaile / S

S.js - Simple, Clean, Fast Reactive Programming in Javascript
MIT License
1.31k stars 68 forks source link

Cleanup single computation #24

Closed luwes closed 5 years ago

luwes commented 5 years ago

How can one cleanup a single computation (with or without a root)?

luwes commented 5 years ago

Oh cool I think I found it here in the code:

https://github.com/adamhaile/S/blob/master/src/S.ts#L209-L216