element-portable/src/stores
Travis Ralston 66cd8475b5 Don't reset cached room list values when they are falsey
`unread` and `unread-muted` store booleans in the cache, and can easily be `false`. Without this patch, both of those cached types would be cleared from the object where a later call to `getRoomState` would try and re-populate them. `getRoomState` is supposed to use the cache where possible to avoid making the more expensive calls required to calculate those booleans.

On my account in a test environment, this brings the `generateRoomLists` execution time down from ~250ms to just ~30ms. 

This still does not solve the whole issue, but should solve the more common case of performance woes for people.
2019-01-07 17:46:32 -07:00
..
ActiveWidgetStore.js Lint 2018-08-17 09:42:23 +01:00
FlairStore.js Return null instead of undefined on failure 2018-03-06 12:14:41 +00:00
GroupStore.js Revert "Merge pull request #2395 from matrix-org/dbkr/merge_develop_experimental" 2019-01-03 15:37:03 -07:00
LifecycleStore.js Move destroyPersistentWidget to store 2018-07-24 16:50:34 +01:00
MessageComposerStore.js no point saving history at this point, maybe future supported 2018-07-17 09:27:11 +01:00
RoomListStore.js Don't reset cached room list values when they are falsey 2019-01-07 17:46:32 -07:00
RoomScrollStateStore.js Re-add doc on scroll state map structure 2017-09-08 13:27:14 +01:00
RoomViewStore.js Revert "Merge pull request #2395 from matrix-org/dbkr/merge_develop_experimental" 2019-01-03 15:37:03 -07:00
SessionStore.js Remove redundant reset 2017-05-31 15:32:55 +01:00
TagOrderStore.js Use optimistic removedTagsAccountData state in TagOrderStore 2018-02-14 16:47:29 +00:00
WidgetEchoStore.js PR feedback 2018-07-16 13:18:10 +01:00