mobxjs / mobx.dart

MobX for the Dart language. Hassle-free, reactive state-management for your Dart and Flutter apps.
https://mobx.netlify.app
MIT License
2.39k stars 310 forks source link

feat: add keepAlive to Computed #975

Closed amondnet closed 8 months ago

amondnet commented 8 months ago

https://mobx.js.org/computeds.html#keepalive

This avoids suspending computed values when they are not being observed by anything (see the above explanation). Can potentially create memory leaks.