阅读背景:

Angular 2,ngrx / store,RxJS和树状数据

来源:互联网 

I've been trying to figure out a way to use the select operator in combination with rxjs's other operators to query a tree data structure (normalized in the store to a flat list) in such a way that it preserves referential integrity for ChangeDetectionStrategy.OnPush semantics but my best attempts cause the entire tree to be rerendered when any part of the tree changes. Does anyone have any ideas? If you consider the following interface as representative of the data in the store:I've been trying to figure out a way to use the




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: