* Optimize makeGetStatus Because `ImmutableList.filter` always returns a new object and `createSelector` memoizes based on object identity, the selector returned by `makeGetStatus` would *always* execute. To avoid that, we wrap `getFilters` into a new memoizer that memoizes based on deep equality, thus returning the same object as long as the filters haven't changed, allowing the memoization of `makeGetStatus` to work. Furthermore, we memoize the compiled regexs instead of recomputing them each time the selector is called. * Fix memoized result being cleared too often * Make notifications use memoized getFiltersRegex |
||
|---|---|---|
| .. | ||
| importer | ||
| push_notifications | ||
| accounts.js | ||
| alerts.js | ||
| blocks.js | ||
| bundles.js | ||
| columns.js | ||
| compose.js | ||
| conversations.js | ||
| custom_emojis.js | ||
| domain_blocks.js | ||
| dropdown_menu.js | ||
| emojis.js | ||
| favourites.js | ||
| filters.js | ||
| height_cache.js | ||
| identity_proofs.js | ||
| interactions.js | ||
| lists.js | ||
| modal.js | ||
| mutes.js | ||
| notifications.js | ||
| onboarding.js | ||
| pin_statuses.js | ||
| polls.js | ||
| reports.js | ||
| search.js | ||
| settings.js | ||
| statuses.js | ||
| store.js | ||
| streaming.js | ||
| suggestions.js | ||
| timelines.js | ||