-
-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add disposeValue
callback to Computed
, such that old values can be properly disposed
#857
Labels
enhancement
New feature or request
Comments
fzyzcjy
added a commit
to fzyzcjy/mobx.dart
that referenced
this issue
Sep 4, 2022
…n be properly disposed mobxjs#857
fzyzcjy
added a commit
to fzyzcjy/mobx.dart
that referenced
this issue
Sep 4, 2022
7 tasks
fzyzcjy
changed the title
Add
Add Sep 4, 2022
onDispose
callback to Computed
, such that old values can be properly disposeddisposeValue
callback to Computed
, such that old values can be properly disposed
fzyzcjy
added a commit
to fzyzcjy/mobx.dart
that referenced
this issue
Sep 6, 2022
This reverts commit 263155b. # Conflicts: # mobx/test/computed_test.dart
fzyzcjy
added a commit
to fzyzcjy/mobx.dart
that referenced
this issue
Sep 6, 2022
…alues can be properly disposed mobxjs#857" This reverts commit bbd9020.
amondnet
added a commit
that referenced
this issue
Feb 16, 2023
* add `nonObservableInner`, such that users can bypass observability system for performance * chore: format code * feat: Add `onDispose` callback to `Computed`, such that old values can be properly disposed #857 * test: add tests to `disposeValue` #857 * test: add tests for "Allow users to bypass observability system for performance" * feat: add `Computed.dispose` #859 * test: add tests for Computed.dispose * test: reproduce #855 * fix: Avoid unnecessary observable notifications of `@observable` fields of `Store`s #855 * Revert "test: add tests for Computed.dispose" This reverts commit 63d57ef. * Revert "feat: add `Computed.dispose` #859" This reverts commit 20fe5d3. * Revert "test: add tests to `disposeValue` #857" This reverts commit 263155b. # Conflicts: # mobx/test/computed_test.dart * Revert "feat: Add `onDispose` callback to `Computed`, such that old values can be properly disposed #857" This reverts commit bbd9020. * format code and minor change to code * add Observable.nonObservableValue * fix: Reaction lacks toString, so cannot see which reaction causes the error #864 * feat: Add StackTrace to reactions in debug mode to easily spot which reaction it is #864 * fix linter errors * add toString and debugCreationStack * test: add atom_test --------- Co-authored-by: fzyzcjy <ch271828n@outlook.com> Co-authored-by: fzyzcjy <5236035+fzyzcjy@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: