Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memoize selectors for categories #284

Merged
merged 1 commit into from
Jul 1, 2020

Conversation

dhhyi
Copy link
Collaborator

@dhhyi dhhyi commented Jun 17, 2020

PR Type

[x] Feature
[x] Other: Performance Improvements

What Is the Current Behavior?

Category selectors are not correctly memoized and can trigger unnecessary view updates.

Issue Number: Closes #245

What Is the New Behavior?

Memoization exists

Does this PR Introduce a Breaking Change?

[ ] Yes
[x] No

Other Information

@dhhyi dhhyi added the enhancement Enhancement to an existing feature label Jun 17, 2020
@dhhyi dhhyi added this to the 0.22 milestone Jun 17, 2020
@dhhyi dhhyi self-assigned this Jun 17, 2020
@dhhyi dhhyi force-pushed the refactor/categories_selector_memoization branch 3 times, most recently from 2f18352 to 855a1e0 Compare June 21, 2020 15:53
@dhhyi dhhyi force-pushed the refactor/categories_selector_memoization branch from 855a1e0 to 064e050 Compare June 23, 2020 15:59
@dhhyi dhhyi changed the base branch from develop to refactor/breadcrumb-component June 24, 2020 04:05
@dhhyi dhhyi force-pushed the refactor/categories_selector_memoization branch 4 times, most recently from dd4c7aa to 8272ea9 Compare June 24, 2020 06:37
@dhhyi dhhyi force-pushed the refactor/breadcrumb-component branch from 11b0871 to bc39bd6 Compare June 24, 2020 06:43
@dhhyi dhhyi force-pushed the refactor/categories_selector_memoization branch from 8272ea9 to a355f87 Compare June 24, 2020 06:43
@dhhyi dhhyi marked this pull request as ready for review June 24, 2020 08:13
@dhhyi dhhyi force-pushed the refactor/breadcrumb-component branch from bc39bd6 to cb9ae13 Compare June 29, 2020 14:40
Base automatically changed from refactor/breadcrumb-component to develop June 29, 2020 20:13
@dhhyi dhhyi force-pushed the refactor/categories_selector_memoization branch from a355f87 to c78209e Compare June 29, 2020 20:14
@dhhyi dhhyi requested a review from shauke June 29, 2020 20:15
@shauke shauke self-assigned this Jun 30, 2020
Copy link
Collaborator

@shauke shauke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. 👍

@dhhyi dhhyi merged commit afc69ed into develop Jul 1, 2020
@dhhyi dhhyi deleted the refactor/categories_selector_memoization branch July 1, 2020 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Category tile changes the whole time and causes memory problems
2 participants