user poll: Are you using destroy/destroyAll with observable arrays?

36 views
Skip to first unread message

Michael Best

unread,
Nov 30, 2017, 11:06:29 PM11/30/17
to KnockoutJS

Currently, the foreach binding has to compare the old and new arrays on each update. Using the arrayChange event will provide a performance improvement when using a known operation like push with large arrays. Unfortunately, in order to gain this benefit, we'll need to change the default behavior of foreach to consider includeDestroyed as true.


My question is: How many are using the destroy/destroyAll methods?

Noirabys

unread,
Dec 1, 2017, 9:14:27 AM12/1/17
to KnockoutJS
hi,
 we don't use destoy/destroyAll
best regards,
  noirabys

Andrew Vickers

unread,
Dec 1, 2017, 3:06:04 PM12/1/17
to KnockoutJS
Haven't used Rails for quite some time.
Reply all
Reply to author
Forward
0 new messages