Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

feat(dccd): add Support for ObservableList, ObservableMap & ChangeNotifi... #1419

Closed
wants to merge 1 commit into from

Conversation

rkirov
Copy link
Contributor

@rkirov rkirov commented Sep 2, 2014

...er

Lower the target time to prevent a memory overflow. Benchmark added.

Rebased and squashed @vicb's work in #1156.

Fixes #773
Closes #1156

@vicb
Copy link
Contributor

vicb commented Sep 19, 2014

@rkirov This commit should do the trick - see the rationale in the comment.

Note: you should probably add the same kind of test for Maps.

@rkirov
Copy link
Contributor Author

rkirov commented Sep 19, 2014

Great, thanks Vic. You commit fixed the list, but now that I added the map tests, they fail too. Can you take a look again.

@vicb
Copy link
Contributor

vicb commented Sep 19, 2014

I can not test today but it seems you are only calling detect change (getting the it) once in this test. Try to call it twice as you do for lists - this one should not work when not using observable, right ?

@rkirov
Copy link
Contributor Author

rkirov commented Sep 19, 2014

Yeah, that does it.

@rkirov rkirov force-pushed the observable branch 2 times, most recently from cea5b84 to 6debf5b Compare September 19, 2014 23:51
…ifier

Lower the target time to prevent a memory overflow. Benchmark added.

To use annotate your models with @observable or use ObservableList or
ObservableMap.

Fixes dart-archive#773
Closes dart-archive#1156
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

Observable support in change detection
4 participants